| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have my Form borders set to "none", because I am using a bitmap for my
background. How do I drag the Form so the user can move the Form? |
|
#2
|
|||
|
|||
|
Re: Dragging a borderless Form....
Check for WM_LBUTTONDOWN, then change the message and wparam to make windows believe that the user is clicking on the caption (even though you don't have one). Set the message to WM_NCLBUTTONDOWN and the wparam to HTCAPTION.
Regards. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|