-
How do I show the "contour" of the form when users are resizing the form? For example, instead of everything resizing/moving, etc at once, only show the outline of the resize and when the user releases the mouse, the form will adjust accordingly.
VB6 enterprise
-
Turn off full-window drag in your Windows Display control panel settings.
-
Re: Resizing
hmm...i would actually like to do this with my form. Right now i have it subclassed to catch the WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE and I pause the redrawing until its complete, but this is a rather ugly method. Not functionaly but as far as how it actually looks...
I dont want to block the resize message altogether...but how could i create a 'rubber band'/outline effect like windows does with that setting turned off...
I dont suppose anyone has any thoughts do they?
Ive even thought about Blt'ing a cap of the form using StretchBlt to the forms dc which i could resize rather quickly and then when resize is final,erase the image and redraw the actual controls heh.
-
Re: Resizing
How about floating a form over your form, and then turning visibile off on your form. Then you could resize the floating form, and when done, show the original form at the new dimensions when you hide the floating one?