Re: Moving a borderless window - Is there a way?

new topic     » goto parent     » topic index » view thread      » older message » newer message

I found an easier way.
When the window receives a WM_NCHITTEST message,  send a  NTCAPTION 
response back.  This fools the window into thinking that the title bar 
has been clicked on.  A drawback is that the window will no longer be 
able to respond to any other mouse events.



> Thanks. That's what I needed.
>
> Guillermo Bonvehi wrote:
>
>   	
> Evan Marshall wrote:
>
>   	
> I have a window with no title bar or borders. I'd like to be able to
> grab it with the mouse and move it where I want. Is this possible?
>
>
> Take a look at PatRat's library: http://www.rapideuphoria.com/dragwin.zip
>
> Best Regards,
>     Guillermo Bonvehi
>
>
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu