[Qt-interest] auto cancelling interaction when a dialog is shown (WM_CANCELMODE equivalent)?
Ross Bencina
rossb-lists at audiomulch.com
Thu Feb 12 10:01:03 CET 2009
Hi Guys
I need to cancel interaction when I'm manipulating a custom widget and a
dialog box is displayed (such as when the user hits Ctrl-N and the "Do you
want to save?" message box is displayed while I'm manipulating a control
with the left mouse button down).
The Qt Scroll Bar seems to cancel interaction when I hit a key to pop up a
dialog while I'm dragging the scroll bar thumb, but my custom widgets get
confused and never see a mouseRelease event.
On Win32 there's WM_CANCELMODE Notification for this purpose:
http://msdn.microsoft.com/en-us/library/ms632615(VS.85).aspx
Could someone please enlighten me as to what the equivalent event (or
technique) is in Qt?
Thanks!
Ross.
===================================
AudioMulch 2.0 coming soon!
http://www.audiomulch.com
More information about the Qt-interest-old
mailing list