Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: include each other Pin
xyhan22-Feb-06 14:02
xyhan22-Feb-06 14:02 
AnswerRe: include each other Pin
Joe Woodbury22-Feb-06 13:54
professionalJoe Woodbury22-Feb-06 13:54 
QuestionQuestion: localtime() Pin
Yonggoo22-Feb-06 13:05
Yonggoo22-Feb-06 13:05 
AnswerRe: Question: localtime() Pin
cmk22-Feb-06 13:24
cmk22-Feb-06 13:24 
QuestionProfiler for VS 2005 Pin
Jack Puppy22-Feb-06 11:38
Jack Puppy22-Feb-06 11:38 
AnswerRe: Profiler for VS 2005 Pin
Joe Woodbury22-Feb-06 17:42
professionalJoe Woodbury22-Feb-06 17:42 
QuestionCSocket Memory Leak Pin
Dave Regan22-Feb-06 11:31
Dave Regan22-Feb-06 11:31 
QuestionCursor Issues Pin
#realJSOP22-Feb-06 11:07
mve#realJSOP22-Feb-06 11:07 
Visual C++ 6.0

I've setup some context-sensitive help functionality for our app. The target window is a CView with a bunch of embedded CWnd objects. When I click on the context-help button in the toolbar, the cursor changes to the arrow/questionmark (like it should). However, if I click somewhere in the view that isn't one of the smaller CWnd's, I have the program displaying a messagebox saying there's no help. Now comes the weird part...

When I click the okay button in the messagebox, the cursor doesn't change back to the standard arrow cursor until I move the mouse over another window.

I've tried this line of code at the end of my OnContextHelp function:

AfxGetApp()->LoadStandardCursor(IDC_ARROW);

but it still doesn't change the cursor. Anyone have any ideas?

------- sig starts

"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt

"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
AnswerRe: Cursor Issues Pin
Ryan Binns22-Feb-06 17:19
Ryan Binns22-Feb-06 17:19 
GeneralRe: Cursor Issues Pin
#realJSOP23-Feb-06 2:20
mve#realJSOP23-Feb-06 2:20 
QuestionSetupDiRemoveDevice() Pin
Manu_8122-Feb-06 10:31
Manu_8122-Feb-06 10:31 
QuestionDisable Task Manager from MFC Pin
JBAK_CP22-Feb-06 10:30
JBAK_CP22-Feb-06 10:30 
AnswerRe: Disable Task Manager from MFC Pin
super22-Feb-06 12:04
professionalsuper22-Feb-06 12:04 
GeneralRe: Disable Task Manager from MFC Pin
JBAK_CP24-Feb-06 12:26
JBAK_CP24-Feb-06 12:26 
QuestionAll member variables contain same value Pin
BuckBrown22-Feb-06 8:44
BuckBrown22-Feb-06 8:44 
AnswerRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 9:22
professionalJoe Woodbury22-Feb-06 9:22 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 10:55
BuckBrown22-Feb-06 10:55 
GeneralRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 11:00
professionalJoe Woodbury22-Feb-06 11:00 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 11:06
BuckBrown22-Feb-06 11:06 
GeneralRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 11:14
professionalJoe Woodbury22-Feb-06 11:14 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 12:59
BuckBrown22-Feb-06 12:59 
GeneralRe: All member variables contain same value Pin
Blake Miller23-Feb-06 4:53
Blake Miller23-Feb-06 4:53 
AnswerRe: All member variables contain same value Pin
carks22-Feb-06 9:23
carks22-Feb-06 9:23 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 11:04
BuckBrown22-Feb-06 11:04 
QuestionRe: All member variables contain same value Pin
David Crow22-Feb-06 9:37
David Crow22-Feb-06 9:37 

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.