Click here to Skip to main content
15,917,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVS.NET and Win XP... Pin
Anonymous17-Jul-03 3:44
Anonymous17-Jul-03 3:44 
GeneralRe: VS.NET and Win XP... Pin
valikac17-Jul-03 4:31
valikac17-Jul-03 4:31 
GeneralRe: VS.NET and Win XP... Pin
pranavamhari17-Jul-03 6:28
pranavamhari17-Jul-03 6:28 
GeneralRe: VS.NET and Win XP... Pin
jspano17-Jul-03 7:34
jspano17-Jul-03 7:34 
GeneralRe: VS.NET and Win XP... Pin
Mike Nordell17-Jul-03 9:24
Mike Nordell17-Jul-03 9:24 
GeneralRe: VS.NET and Win XP... Pin
jspano18-Jul-03 4:51
jspano18-Jul-03 4:51 
GeneralModeless Windows Pin
Jay Hova17-Jul-03 3:44
Jay Hova17-Jul-03 3:44 
GeneralRe: Modeless Windows Pin
G. Steudtel17-Jul-03 5:07
G. Steudtel17-Jul-03 5:07 
Hi,
I have no idea, whar the clas CMainCommand is about, but nevertheless your code must fail.
You create a new insatance of this class in OnOk() so this new instance surely doesnot know anything of windows/dialogs/form created prior to its creation.
Thus Create(IDD_...) will always return true, because in the class instance of CMainCommand no flag or so is set to indicate that this dialog has been created already.
Two possible solution. Try to get the applications pointer of its CMainCommand instance, and use this pointer.
Or send/post the command to the application as if the user has selected the dialog via the menu.

Regards
G.Steudtel
QuestionHow to Calculate Net Connection Speed??????? Pin
HemantR...17-Jul-03 3:08
HemantR...17-Jul-03 3:08 
AnswerRe: How to Calculate Net Connection Speed??????? Pin
valikac17-Jul-03 4:33
valikac17-Jul-03 4:33 
GeneralRe: How to Calculate Net Connection Speed??????? Pin
HemantR...17-Jul-03 5:00
HemantR...17-Jul-03 5:00 
Generalreplacing a character in a string Pin
si_6917-Jul-03 2:41
si_6917-Jul-03 2:41 
GeneralRe: replacing a character in a string Pin
Ian Darling17-Jul-03 2:46
Ian Darling17-Jul-03 2:46 
GeneralRe: replacing a character in a string Pin
Ryan Binns17-Jul-03 3:05
Ryan Binns17-Jul-03 3:05 
GeneralHelp! How VC++ program running on multiple PCs Pin
aurorahe17-Jul-03 2:40
aurorahe17-Jul-03 2:40 
GeneralRe: Help! How VC++ program running on multiple PCs Pin
Ian Darling17-Jul-03 2:51
Ian Darling17-Jul-03 2:51 
GeneralRe: Help! How VC++ program running on multiple PCs Pin
aurorahe17-Jul-03 4:22
aurorahe17-Jul-03 4:22 
GeneralRe: Help! How VC++ program running on multiple PCs Pin
Neville Franks17-Jul-03 11:56
Neville Franks17-Jul-03 11:56 
GeneralRe: error including C files in VC++ 6 project Pin
Iain Clarke, Warrior Programmer17-Jul-03 2:58
Iain Clarke, Warrior Programmer17-Jul-03 2:58 
GeneralRe: error including C files in VC++ 6 project Pin
Iain Clarke, Warrior Programmer17-Jul-03 4:18
Iain Clarke, Warrior Programmer17-Jul-03 4:18 
Generaldesparate help needed in making a param array Pin
safee ullah17-Jul-03 2:17
safee ullah17-Jul-03 2:17 
GeneralRe: desparate help needed in making a param array Pin
Ryan Binns17-Jul-03 3:10
Ryan Binns17-Jul-03 3:10 
GeneralRe: desparate help needed in making a param array Pin
Anonymous17-Jul-03 3:59
Anonymous17-Jul-03 3:59 
GeneralRe: desparate help needed in making a param array Pin
Ryan Binns17-Jul-03 4:03
Ryan Binns17-Jul-03 4:03 
GeneralDetecting workstation access Pin
Sayan Mukherjee17-Jul-03 1:47
Sayan Mukherjee17-Jul-03 1:47 

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.