Valhalla Legends Forums Archive | General Programming | Interesting...

AuthorMessageTime
Eibro
I remember a post awhile back about how to drag a window from anywhere on the window. (not just the titlebar)
Someone just pointed this out to me, it's an undocumented "feature" which allows you to do this with a single call...
[code]
SendMessage(hWnd, WM_SYSCOMMAND, 0xF012, 0);
[/code]
SC_MOVE + HTCAPTION = 0xF012
I found it extremely useful, maybe someone else will too.

January 19, 2003, 4:32 PM

Search