Click here to Skip to main content
15,923,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set mouse position Pin
Paul M Watt30-Apr-02 10:02
mentorPaul M Watt30-Apr-02 10:02 
GeneralRe: Set mouse position Pin
ISIS5530-Apr-02 10:26
ISIS5530-Apr-02 10:26 
GeneralRe: Set mouse position Pin
Philippe Mori30-Apr-02 13:16
Philippe Mori30-Apr-02 13:16 
GeneralCWaitCursor Pin
Steve Hopkins30-Apr-02 4:21
Steve Hopkins30-Apr-02 4:21 
GeneralRe: CWaitCursor Pin
lucy30-Apr-02 4:31
lucy30-Apr-02 4:31 
GeneralRe: CWaitCursor Pin
Steve Hopkins30-Apr-02 5:04
Steve Hopkins30-Apr-02 5:04 
GeneralRe: CWaitCursor Pin
Ravi Bhavnani30-Apr-02 9:08
professionalRavi Bhavnani30-Apr-02 9:08 
GeneralRe: CWaitCursor Pin
Philippe Mori30-Apr-02 13:27
Philippe Mori30-Apr-02 13:27 
If fact, temporary cursor are restored as soon as the mouse is moved (see SetCursor doc) and in pratice, it means that the cursor will be restored if windows messages are processed which may be the case if something with a message loop is called (COM apartment switching, message box,...).

The only way to ensure that the wait cursor stay displayed is by calling something that will do a permanent change of the cursor (or also by processing WM_SETCURSOR) or by associating a NULL cursor with your window.

In MSDN documentation, it is said that the cursor must be restored if an operation cause the cursor to be changed (see CWaitCursor::Restore).

Philippe Mori
GeneralDisabling button at runtime Pin
girishc30-Apr-02 4:18
girishc30-Apr-02 4:18 
GeneralRe: Disabling button at runtime Pin
lucy30-Apr-02 4:29
lucy30-Apr-02 4:29 
GeneralRe: Disabling button at runtime Pin
Roger Allen30-Apr-02 4:31
Roger Allen30-Apr-02 4:31 
GeneralMax # of variables passed before using struct Pin
Codin' Carlos30-Apr-02 4:16
Codin' Carlos30-Apr-02 4:16 
GeneralRe: Max # of variables passed before using struct Pin
Paul M Watt30-Apr-02 5:35
mentorPaul M Watt30-Apr-02 5:35 
GeneralRe: Max # of variables passed before using struct Pin
Paul M Watt30-Apr-02 10:04
mentorPaul M Watt30-Apr-02 10:04 
GeneralRe: Max # of variables passed before using struct Pin
Mike Nordell1-May-02 8:54
Mike Nordell1-May-02 8:54 
GeneralRe: Max # of variables passed before using struct Pin
Tim Smith30-Apr-02 6:01
Tim Smith30-Apr-02 6:01 
GeneralRe: Max # of variables passed before using struct Pin
Codin' Carlos30-Apr-02 9:05
Codin' Carlos30-Apr-02 9:05 
GeneralRe: Max # of variables passed before using struct Pin
Ravi Bhavnani30-Apr-02 9:11
professionalRavi Bhavnani30-Apr-02 9:11 
GeneralRe: Max # of variables passed before using struct Pin
Chris Losinger30-Apr-02 9:30
professionalChris Losinger30-Apr-02 9:30 
GeneralRe: Max # of variables passed before using struct Pin
Philippe Mori30-Apr-02 13:47
Philippe Mori30-Apr-02 13:47 
Generaluser input to var name Pin
jimNLX30-Apr-02 3:51
jimNLX30-Apr-02 3:51 
GeneralRe: user input to var name Pin
Konrad Rotuski30-Apr-02 3:58
Konrad Rotuski30-Apr-02 3:58 
GeneralRe: user input to var name Pin
Ravi Bhavnani30-Apr-02 9:12
professionalRavi Bhavnani30-Apr-02 9:12 
GeneralRe: user input to var name Pin
jimNLX1-May-02 5:48
jimNLX1-May-02 5:48 
GeneralLooking for sample code to put a minimize to tray button in the caption of a window. Pin
Kurt _B30-Apr-02 3:45
Kurt _B30-Apr-02 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.