Advertisement

moving a skinned window

Started by March 17, 2005 04:40 PM
-1 comments, last by toxy 19 years, 8 months ago
I'm developing an application with a skinned window without the windows title bar showing. I'm using ::SendMessage(hWnd, WM_NCLBUTTONDOWN, HTCAPTION, NULL); to fake that the window caption has been hit when there is a WM_LBUTTONDOWN message in my application so that the user can move the skinned window if they click on the skin and drag it. My problem is that I can't move the skinned window past the top of the screen and make it stay there. I'm assuming thats its because Windows doesn't like the title bar moving above the top of the screen. So, does anyone know a way around this?

This topic is closed to new replies.

Advertisement