|
-
Oct 3rd, 2000, 05:24 PM
#1
Thread Starter
Member
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
-
Oct 3rd, 2000, 05:45 PM
#2
Monday Morning Lunatic
Turn off full-window drag in your Windows Display control panel settings.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Mar 16th, 2005, 03:50 AM
#3
Hyperactive Member
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.
-
Mar 16th, 2005, 04:57 AM
#4
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|