Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Please, stop crashing! *createremotethread() Pin
Jose Lamas Rios5-Oct-05 18:26
Jose Lamas Rios5-Oct-05 18:26 
GeneralRe: Please, stop crashing! *createremotethread() Pin
GreenLantern6-Oct-05 9:16
GreenLantern6-Oct-05 9:16 
QuestionMFC menu issues Pin
LighthouseJ5-Oct-05 10:19
LighthouseJ5-Oct-05 10:19 
AnswerRe: MFC menu issues Pin
Bob Stanneveld5-Oct-05 10:40
Bob Stanneveld5-Oct-05 10:40 
GeneralRe: MFC menu issues Pin
LighthouseJ5-Oct-05 10:52
LighthouseJ5-Oct-05 10:52 
GeneralRe: MFC menu issues (update) Pin
LighthouseJ5-Oct-05 11:56
LighthouseJ5-Oct-05 11:56 
AnswerRe: MFC menu issues Pin
Bartosz Bien5-Oct-05 11:57
Bartosz Bien5-Oct-05 11:57 
GeneralRe: MFC menu issues Pin
LighthouseJ5-Oct-05 12:32
LighthouseJ5-Oct-05 12:32 
I'm calling it in my CChildView class, in the event handler for the menu item I'm trying to toggle. When you said that, I realized that the CChildView only corresponds to the view itself, not the entire app, at least as far high as the menu exists. I changed the code to get the menu like this:
CWnd * pParent = ::AfxGetMainWnd();<br />
CMenu * MainMenu = pParent->GetMenu();<br />
CMenu * ActionMenu = MainMenu->GetSubMenu(3);


Which looks like it's picking up the right things when debugging, I won't be sure it's right until I write more code, but thanks for helping me point that out.
AnswerRe: MFC menu issues Pin
Jose Lamas Rios5-Oct-05 18:35
Jose Lamas Rios5-Oct-05 18:35 
QuestionFile Change Event CDialog Pin
picazo5-Oct-05 10:01
picazo5-Oct-05 10:01 
AnswerRe: File Change Event CDialog Pin
Blake V. Miller5-Oct-05 10:28
Blake V. Miller5-Oct-05 10:28 
QuestionThe thread 0x6B8 has exited with code 2 (0x2). Pin
valerie995-Oct-05 9:25
valerie995-Oct-05 9:25 
AnswerRe: The thread 0x6B8 has exited with code 2 (0x2). Pin
Blake V. Miller5-Oct-05 10:25
Blake V. Miller5-Oct-05 10:25 
GeneralRe: The thread 0x6B8 has exited with code 2 (0x2). Pin
QueenAzula26-Jun-23 2:17
QueenAzula26-Jun-23 2:17 
QuestionIs it possible to make asynchronous callback in win32 PRC? Pin
Coal Station5-Oct-05 8:46
Coal Station5-Oct-05 8:46 
QuestionComputing thread stack size Pin
Zykalus5-Oct-05 8:31
Zykalus5-Oct-05 8:31 
AnswerRe: Computing thread stack size Pin
Shog95-Oct-05 10:20
sitebuilderShog95-Oct-05 10:20 
GeneralRe: Computing thread stack size Pin
Blake V. Miller5-Oct-05 10:33
Blake V. Miller5-Oct-05 10:33 
GeneralRe: Computing thread stack size Pin
Shog95-Oct-05 11:09
sitebuilderShog95-Oct-05 11:09 
GeneralRe: Computing thread stack size Pin
Zykalus5-Oct-05 15:35
Zykalus5-Oct-05 15:35 
GeneralRe: Computing thread stack size Pin
Shog95-Oct-05 16:02
sitebuilderShog95-Oct-05 16:02 
AnswerRe: Computing thread stack size Pin
Blake V. Miller5-Oct-05 10:37
Blake V. Miller5-Oct-05 10:37 
GeneralRe: Computing thread stack size Pin
Zykalus5-Oct-05 11:03
Zykalus5-Oct-05 11:03 
GeneralRe: Computing thread stack size Pin
Gary R. Wheeler9-Oct-05 4:54
Gary R. Wheeler9-Oct-05 4:54 
QuestionTo fire a button click event programmatically Pin
Liu Shuai5-Oct-05 8:05
Liu Shuai5-Oct-05 8:05 

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.