Close window when contextmenu is open

Posted by jws on Stack Overflow See other posts from Stack Overflow or by jws
Published on 2010-05-28T13:59:10Z Indexed on 2010/05/28 14:02 UTC
Read the original article Hit count: 259

Filed under:
|
|

When a window is displaying a right-click context menu, it doesn't respond to WM_SYSCOMMAND SC_CLOSE message. How can I cleanly shutdown the window when it is in this state?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about contextmenu