Help: How to move windows with no caption? 
Author Message
 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.



Sun, 15 Oct 2000 03:00:00 GMT  
 Help: How to move windows with no caption?

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.



Mon, 16 Oct 2000 03:00:00 GMT  
 Help: How to move windows with no caption?

Also look into WM_NCHITTEST...

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.

>Yes, look at ClientToScreen.
>--
>To email me remove #$%&



Mon, 16 Oct 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Moving windows without visible caption

2. Moving Windows Without Captions

3. Creating a window with no system menu but a close button and caption.!!HELP

4. HELP: WIndow caption bar not activating

5. Getting window handle without matching window caption text

6. Window Caption in Windows 2000

7. Changing Window Caption for Child Window

8. Maximizing Frame Window: Caption bar w/out window borders

9. HELP: SetWindowPos() not moving window!

10. setParent Help!Can not move the window...

11. Windows forms caption bar

12. Window without caption bar

 

 
Powered by phpBB® Forum Software