Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Any method to change default audio device programmatically? Pin
Nibu babu thomas22-Feb-06 19:40
Nibu babu thomas22-Feb-06 19:40 
GeneralRe: Any method to change default audio device programmatically? Pin
StarMeteor22-Feb-06 19:48
StarMeteor22-Feb-06 19:48 
GeneralRe: Any method to change default audio device programmatically? Pin
Nibu babu thomas22-Feb-06 19:53
Nibu babu thomas22-Feb-06 19:53 
JokeRe: Any method to change default audio device programmatically? Pin
StarMeteor22-Feb-06 20:02
StarMeteor22-Feb-06 20:02 
QuestionPlease help Pin
swatgodjr22-Feb-06 13:24
swatgodjr22-Feb-06 13:24 
AnswerRe: Please help Pin
Garth J Lancaster22-Feb-06 13:51
professionalGarth J Lancaster22-Feb-06 13:51 
AnswerRe: Please help Pin
Stephen Hewitt22-Feb-06 15:38
Stephen Hewitt22-Feb-06 15:38 
QuestionHead files include each other Pin
xyhan22-Feb-06 13:19
xyhan22-Feb-06 13:19 
AnswerRe: Head files include each other Pin
DaveCarkeet22-Feb-06 14:33
DaveCarkeet22-Feb-06 14:33 
Questioninclude each other Pin
xyhan22-Feb-06 13:16
xyhan22-Feb-06 13:16 
AnswerRe: include each other Pin
cmk22-Feb-06 13:26
cmk22-Feb-06 13:26 
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
professional#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
professional#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 

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.