
Help: How to move windows with no caption?
Quote:
>I want to move and resize a window without caption and borders, but I cannot
>find a way to do it. I have no idea how to resize without the border
>(actually, I just want to make the border in black, but I cannot). And for
>moving the window, the WM_ON_MOUSEMOVE only give position relative to
>the current window if there are no caption on the window. Is there anyway to
>find out the mouse position relative to the screen? Thanks.
Check out the WM_NCHITTEST message. It should point you in the right
direction.
Scott Amspoker |
http://www.*-*-*.com/ | and not those of my employer.