Hi, I have seen programs with great interfaces. Ones such as where you can drag the window not just by dragging title bar but it can be dragged within anywhere inside the client window. I found out that can be done using WM_NCHITTEST, by returning a value of 2. But to use that, the window must be created with CreateWindowExA. I find it easier to use a resource dialog for the interface, but the WM_NCHITTEST doesn't work with a resource type dialog. I know it is possible in some way because I've seen programs that has a resource dialog, but it has some way of emulating that window dragging effect like WM_NCHITTEST, and I don't know how, any help is appreciated...Thank You.
Posted on 2001-06-01 23:45:00 by bishop
You can use ReleaseCapture and SendMessage to do it
Posted on 2001-06-02 00:09:00 by Torch
try this if msg == WM_LBUTTONDOWN move eax,lParam invoke PostMessage,hWnd,WM_NCLBUTTONDOWN,HTCAPTION,eax good luck
Posted on 2001-06-03 03:22:00 by BlackHorus
Thank you so much BlackHorus, it works so well!! :)
Posted on 2001-06-08 19:11:00 by bishop