
How to drag n drop app without title bar?
On Thu, 29 Aug 2002 21:27:26 GMT, "Ario Mihardja"
Quote:
>Hi reader,
>I am using VB 6.0. My O/S is Win 2K.
>I want to make a standard application
>without any title bar. I can disable the
>default title bar by setting the 'BorderStyle'
>property to 'None'. However, the window
>is not dragable anymore. It is blocking the
>application behind it.
>So my question, how do I make the window
>dragable without having a title bar (i.e.
>I can still drag and drop the window as if
>the title bar is present)?
>Any function I need to overwrite? Any help
>and guidance are appreciated. Thank you
>in advanced. By the way, I have MSDN
>January 2000 edition.
>Have a nice day,
>Ario Mihardja.
You can use the same technique found in the Drag Controls demo at
http://www.mvps.org/vbvision/ Just pass the hWnd of the form
instead of a control.
HTH,
Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas