1
General Modding & Programming / Other Games / MFC WaitCursor question
« on: February 04, 2011, 05:21:24 am »
I have a CWinApp that spawns a CDialog which creates another CDialog. I'd like to call "AfxGetApp()->DoWaitCursor(1)" or "BeginWaitCursor" but I don't know how to intercept this message in CWinApp so that it stays as a cursor hourglass. I can capture this nicely in each CDialog via "OnSetCursor" but there's no "OnSetCursor" for CWinApp.
So: how to get mouse to be a waiting cursor for all open dialogs?
Some of what I'm talking about: http://support.microsoft.com/kb/131991 http://msdn.microsoft.com/en-us/library/gg153552.aspx
So: how to get mouse to be a waiting cursor for all open dialogs?
Some of what I'm talking about: http://support.microsoft.com/kb/131991 http://msdn.microsoft.com/en-us/library/gg153552.aspx