PDA

Click to See Complete Forum and Search --> : control grab handles?


softwareguy74
Feb 2nd, 2002, 09:09 PM
Hi,

You know how when you're designing a form in VB and when you click on a control to either move or resize it, 8 small blue grab handles appear on each corner of the control?

Is this a Win32 API thing that I can do? At first, I just figured that it was a custom drawing thing that the control vendors did. But I noticed that the size and color of the blue dots are totally identical between a bunch of 3rd party controls that I just tested. So it leads me to believe that this is a Win32 API thing.

I would appreciate it if someone could give me a small example of how to do this. What I would like is a text box placed on a form and when the end user clicks on it, the blue grab handles appear.

Any help or direction would be greatly apprecaited!!!

Dan

Jerome W. Norgren
Feb 3rd, 2002, 07:29 PM
dbassettt74,

This may give you some more information.
Look for Resize Handles Demo under Control Stuff section.
AT: http://www.mvps.org/vbvision/grouped_demos.htm#Control_Stuff


Hope this helps!

softwareguy74
Feb 3rd, 2002, 08:05 PM
Jerome,

Thank you very much!!! That site is great and just what I have been looking for.. You really made my day!!!