Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Borderless Forms or Controls in NT

Status
Not open for further replies.

Gandalf

Programmer
Aug 6, 1998
2
0
0
US
Many of you may be aware of using the API to move objects with a handle by using ReleaseCapture() and SendMessage() or some variation to simulate clicking on the Forms Title Bar. However this works fine in 95 but not in NT4.0, does anybody have a solution ?

I've tried looking in MSDN but so far havent come up with anything
 
I'm not sure I understand what you are trying to do. If you

are just moving the object, then wouldn't a simple Frame.Move Left, Top do? Or am I misunderstanding?
 
I'm trying to recreate the TitleBar on a VB Form. That way I can move a title-less Form, the same approach can be used to drag controls that have a Handle around the window. All the MSDN and other Peoples Tips work fine for 95 but doent work in NT.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top