Click here to Skip to main content
15,904,287 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Keyboard Hook Fails in Terminal Session Pin
Naveen8-May-06 18:08
Naveen8-May-06 18:08 
GeneralRe: Keyboard Hook Fails in Terminal Session Pin
benm9999999910-May-06 5:50
benm9999999910-May-06 5:50 
QuestionDoing an NcPaint on a CEdit derived control. ( fixed , read for solution ) Pin
Maximilien8-May-06 9:29
Maximilien8-May-06 9:29 
AnswerRe: Doing an NcPaint on a CEdit derived control. ( fixed , read for solution ) Pin
Hamid_RT8-May-06 19:14
Hamid_RT8-May-06 19:14 
QuestionCWaitCursor Problems Pin
JBAK_CP8-May-06 8:10
JBAK_CP8-May-06 8:10 
AnswerRe: CWaitCursor Problems Pin
David Crow8-May-06 8:25
David Crow8-May-06 8:25 
GeneralRe: CWaitCursor Problems Pin
JBAK_CP8-May-06 8:51
JBAK_CP8-May-06 8:51 
AnswerRe: CWaitCursor Problems Pin
Michael Dunn8-May-06 10:06
sitebuilderMichael Dunn8-May-06 10:06 
All CWaitCursor does is call SetCursor() once. If your code ends up pumping messages and receives a WM_SETCURSOR which it does not handle, DefWindowProc() will set the cursor back to the cursor specified in the window class. It sounds like this is what's happening in your app. You'll need to handle WM_SETCURSOR and keep a flag saying whether you want the hourglass cursor, and set the cursor appropriately in your WM_SETCURSOR handler.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
AnswerRe: CWaitCursor Problems Pin
Nibu babu thomas8-May-06 18:48
Nibu babu thomas8-May-06 18:48 
GeneralRe: CWaitCursor Problems Pin
JBAK_CP9-May-06 2:17
JBAK_CP9-May-06 2:17 
QuestionHow to add Application and port into Firewall Exception list windows 2000 Pin
mahesh_patil1668-May-06 6:51
mahesh_patil1668-May-06 6:51 
QuestionUser clicks Pin
llp00na8-May-06 6:46
llp00na8-May-06 6:46 
AnswerRe: User clicks Pin
led mike8-May-06 7:56
led mike8-May-06 7:56 
GeneralRe: User clicks Pin
llp00na8-May-06 8:11
llp00na8-May-06 8:11 
GeneralRe: User clicks Pin
Stephen Hewitt8-May-06 15:56
Stephen Hewitt8-May-06 15:56 
AnswerRe: User clicks Pin
David Crow8-May-06 8:28
David Crow8-May-06 8:28 
GeneralRe: User clicks Pin
llp00na8-May-06 8:37
llp00na8-May-06 8:37 
GeneralRe: User clicks Pin
David Crow8-May-06 8:51
David Crow8-May-06 8:51 
GeneralRe: User clicks Pin
llp00na8-May-06 9:14
llp00na8-May-06 9:14 
GeneralRe: User clicks Pin
David Crow8-May-06 9:25
David Crow8-May-06 9:25 
GeneralRe: User clicks Pin
llp00na8-May-06 9:29
llp00na8-May-06 9:29 
GeneralRe: User clicks Pin
David Crow8-May-06 9:33
David Crow8-May-06 9:33 
GeneralRe: User clicks Pin
llp00na8-May-06 12:47
llp00na8-May-06 12:47 
QuestionPassing the FP Struct from Excel to C++ Pin
Sameday10008-May-06 6:25
Sameday10008-May-06 6:25 
AnswerRe: Passing the FP Struct from Excel to C++ Pin
Andy Moore8-May-06 7:01
Andy Moore8-May-06 7:01 

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.