Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Solving equation Pin
josda100012-Feb-10 9:03
josda100012-Feb-10 9:03 
QuestionMFC: calling a menu item from another menu item Pin
deostroll12-Feb-10 0:04
deostroll12-Feb-10 0:04 
AnswerRe: MFC: calling a menu item from another menu item Pin
Richard MacCutchan12-Feb-10 0:19
mveRichard MacCutchan12-Feb-10 0:19 
GeneralRe: MFC: calling a menu item from another menu item Pin
deostroll12-Feb-10 2:12
deostroll12-Feb-10 2:12 
GeneralRe: MFC: calling a menu item from another menu item Pin
Richard MacCutchan12-Feb-10 3:16
mveRichard MacCutchan12-Feb-10 3:16 
GeneralRe: MFC: calling a menu item from another menu item Pin
deostroll12-Feb-10 3:51
deostroll12-Feb-10 3:51 
GeneralRe: MFC: calling a menu item from another menu item Pin
Richard MacCutchan12-Feb-10 4:01
mveRichard MacCutchan12-Feb-10 4:01 
GeneralRe: MFC: calling a menu item from another menu item Pin
deostroll12-Feb-10 4:18
deostroll12-Feb-10 4:18 
Hey, I don't mean to call another dialog from another dialog. I just put a messagebox in one of my menu item's event handler. It is just to test if the code executes...which it apparently does not?

k, on the topic on non-modal dialogs I don't understand the difference between the following 2 snippets:
/* Snippet 1 */
CMyDialog* dlg = new CMyDialog();
dlg->Create(IDD_MY_DIALOG);
dlg->ShowWindow(SW_SHOW);

/* Snippet 2 */
CMyDialog dlg = new CMyDialog();
dlg.Create(IDD_MY_DIALOG);
dlg.ShowWindow(SW_SHOW);


Snippet 2 doesn't work! Why is that so?
GeneralRe: MFC: calling a menu item from another menu item [modified] Pin
Richard MacCutchan12-Feb-10 4:32
mveRichard MacCutchan12-Feb-10 4:32 
GeneralRe: MFC: calling a menu item from another menu item Pin
David Crow12-Feb-10 7:06
David Crow12-Feb-10 7:06 
GeneralRe: MFC: calling a menu item from another menu item Pin
Richard MacCutchan12-Feb-10 9:11
mveRichard MacCutchan12-Feb-10 9:11 
QuestionIs it possible to open file twice? Pin
Member 439977111-Feb-10 23:13
Member 439977111-Feb-10 23:13 
AnswerRe: Is it possible to open file twice? Pin
Cedric Moonen11-Feb-10 23:24
Cedric Moonen11-Feb-10 23:24 
GeneralRe: Is it possible to open file twice? Pin
Member 439977111-Feb-10 23:35
Member 439977111-Feb-10 23:35 
QuestionRe: Is it possible to open file twice? Pin
David Crow12-Feb-10 3:12
David Crow12-Feb-10 3:12 
AnswerRe: Is it possible to open file twice? Pin
Rozis12-Feb-10 11:25
Rozis12-Feb-10 11:25 
GeneralRe: Is it possible to open file twice? Pin
Rozis12-Feb-10 11:32
Rozis12-Feb-10 11:32 
QuestionForm Background color change - Reg. Pin
Paulraj G11-Feb-10 23:00
Paulraj G11-Feb-10 23:00 
AnswerRe: Form Background color change - Reg. Pin
Richard MacCutchan11-Feb-10 23:30
mveRichard MacCutchan11-Feb-10 23:30 
GeneralRe: Form Background color change - Reg. Pin
Paulraj G11-Feb-10 23:40
Paulraj G11-Feb-10 23:40 
GeneralRe: Form Background color change - Reg. Pin
Richard MacCutchan12-Feb-10 0:13
mveRichard MacCutchan12-Feb-10 0:13 
QuestionSHGetFolderPath(), CoCreateInstance() functions fails on Windows 2000. Pin
Abhijit D. Babar11-Feb-10 22:10
Abhijit D. Babar11-Feb-10 22:10 
AnswerRe: SHGetFolderPath(), CoCreateInstance() functions fails on Windows 2000. Pin
CPallini11-Feb-10 22:31
mveCPallini11-Feb-10 22:31 
GeneralRe: SHGetFolderPath(), CoCreateInstance() functions fails on Windows 2000. Pin
Abhijit D. Babar11-Feb-10 22:36
Abhijit D. Babar11-Feb-10 22:36 
GeneralRe: SHGetFolderPath(), CoCreateInstance() functions fails on Windows 2000. Pin
CPallini11-Feb-10 23:09
mveCPallini11-Feb-10 23:09 

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.