Click here to Skip to main content
15,902,636 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: MFC menu issues Pin
Jose Lamas Rios5-Oct-05 18:35
Jose Lamas Rios5-Oct-05 18:35 
According to CMenu's documentation, "[t]he return value is undefined if CWnd is a child window". Try changing the first line to:
CMenu* MainMenu = AfxGetMainWnd()->GetMenu();


[UPDATE]: After posting this I noticed you had already found the problem. Sorry.

--
jlr
http://jlamas.blogspot.com/[^]


-- modified at 0:36 Thursday 6th October, 2005
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 
AnswerRe: To fire a button click event programmatically Pin
Jose Lamas Rios5-Oct-05 9:48
Jose Lamas Rios5-Oct-05 9:48 

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.