|
-
Sep 28th, 2008, 04:00 PM
#1
[RESOLVED] Move window with middle mouse button
To move a borderless form with the left mouse button we can use this code and works just fine,
ReleaseCapture
SendMessage Me.hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
But I want to use the middle mouse button, I tried changing it to WM_NCMBUTTONDOWN, but it doesn't do anything.
Any ideas?
-
Sep 28th, 2008, 04:35 PM
#2
Re: Move window with middle mouse button
Edit Never mind, I figured out a solution.
Last edited by Edgemeal; Sep 28th, 2008 at 05:09 PM.
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
|