|
-
Oct 11th, 2005, 07:26 PM
#1
Thread Starter
No place like 127.0.0.1
[RESOLVED] Drawing gray rectangle instead of actually resizing
Is there a way to create the effect that I have seen many programs do invloving a gray rectangle? When you drag the corner/side of something to resize it, you see a gray outline of where it WOULD be resized to if you left go of the mouse button.
The reason I ask is because I have an MDI form with a control aligned to one side that I want to make resizable. I added a very narrow picture box aligned to the same side the creates the effect of a re-size bar. The problem is the form flickers a lot when I resize it. I was wondering if there was a way to draw this rectangle ontop of all other windows to show where the control would be resized to if you left go of the mouse button. Any ideas?
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
|