ActiveX Control - sorounding box isnt changed in OnDraw
C / C++ / MFC
1
Posts
1
Posters
1
Views
1
Watching
-
Hello! I'm creating my very first ActiveX Control! I'm using the AppWizard to create the project. I then changed the code in OnDraw so that the CRect allways is a square. I then use FillRect() and Ellipse() to create a white box with a circle in it. (I'm just trying this) When I then insert this Control into VB (or ...) I get a box, with 'handles', around my square, for resizing it. When I resize it the white box with the circle will be a square, BUT the box around it has the size it got when I used the mouse to resize it. This often leads to that only a part of my white box and circle will be shown! How do I change the sorrounding box:confused: :confused: