Re: WM_SYSCOMMAND SC_MOVE eats up mouse events and mouse up is not fired
Igor Tandetnik <[email protected]> Mon, 20 Aug 2012 12:26:38 -0400
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
On 8/15/2012 11:13 PM, tommy_h_tam wrote:
> My program is a chromeless window and I want to move the window when
> user drag any part of my dialog. Once WM_SYSCOMMAND is used, all
> subsequent mouse events are lost.
SC_MOVE initiates a modal message loop that processes mouse messages and
translates them into window movement. That's why those mouse messages
don't reach your normal message pump.
Why do you need individual mouse messages while the window is being
moved? What are you trying to achieve? Would WM_MOVING message serve
your purpose?
--
Igor Tandetnik
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/