Click here to Skip to main content
15,884,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTypedPtrArray & CStringArray Pin
Andrew Brock17-Jan-11 19:51
Andrew Brock17-Jan-11 19:51 
AnswerRe: CTypedPtrArray & CStringArray Pin
mesajflaviu17-Jan-11 22:11
mesajflaviu17-Jan-11 22:11 
GeneralRe: CTypedPtrArray & CStringArray Pin
Andrew Brock17-Jan-11 22:36
Andrew Brock17-Jan-11 22:36 
GeneralRe: CTypedPtrArray & CStringArray Pin
mesajflaviu18-Jan-11 1:47
mesajflaviu18-Jan-11 1:47 
QuestionDisplay dialog after SDI app opens Pin
David Crow17-Jan-11 3:01
David Crow17-Jan-11 3:01 
AnswerRe: Display dialog after SDI app opens Pin
Maximilien17-Jan-11 3:30
Maximilien17-Jan-11 3:30 
GeneralRe: Display dialog after SDI app opens Pin
David Crow17-Jan-11 3:39
David Crow17-Jan-11 3:39 
AnswerRe: Display dialog after SDI app opens Pin
Andrew Brock17-Jan-11 3:54
Andrew Brock17-Jan-11 3:54 
The window shows where you have the m_pMainWnd->ShowWindow(SW_SHOW); call in CxxxSDIApp::InitInstance() or during if (!ProcessShellCommand(cmdInfo)) if the program was started with SW_SHOW option (which it is when run from the debugger and the Windows Explorer.

Depending on what you want the dialog to do, you may be able to just make a modeless dialog right there, otherwise you will need to m_pMainWnd->SendMessage() or m_pMainWnd->PostMessage() to tell the main window to open the modal dialog.

SendMessage() will do it right then, whereas PostMessage() will do it some time in the near future.

EDIT: HTML formatting error
AnswerRe: Display dialog after SDI app opens Pin
David Crow17-Jan-11 8:36
David Crow17-Jan-11 8:36 
AnswerRe: Display dialog after SDI app opens Pin
Alain Rist17-Jan-11 5:48
Alain Rist17-Jan-11 5:48 
AnswerRe: Display dialog after SDI app opens Pin
PJ Arends17-Jan-11 7:51
professionalPJ Arends17-Jan-11 7:51 
QuestionImplementation of Chord DHT in ANSI C. Pin
przemnet17-Jan-11 1:42
przemnet17-Jan-11 1:42 
GeneralRe: Implementation of Chord DHT in ANSI C. Pin
CPallini17-Jan-11 2:01
mveCPallini17-Jan-11 2:01 
QuestionQuestion for Static control with Notify property. Pin
Le@rner16-Jan-11 22:43
Le@rner16-Jan-11 22:43 
AnswerRe: Question for Static control with Notify property. Pin
Niklas L16-Jan-11 22:50
Niklas L16-Jan-11 22:50 
GeneralRe: Question for Static control with Notify property. Pin
Le@rner16-Jan-11 23:10
Le@rner16-Jan-11 23:10 
GeneralRe: Question for Static control with Notify property. Pin
Andrew Brock16-Jan-11 23:23
Andrew Brock16-Jan-11 23:23 
GeneralRe: Question for Static control with Notify property. Pin
Le@rner16-Jan-11 23:30
Le@rner16-Jan-11 23:30 
GeneralRe: Question for Static control with Notify property. Pin
Andrew Brock16-Jan-11 23:34
Andrew Brock16-Jan-11 23:34 
GeneralRe: Question for Static control with Notify property. Pin
Le@rner16-Jan-11 23:40
Le@rner16-Jan-11 23:40 
GeneralRe: Question for Static control with Notify property. Pin
Andrew Brock17-Jan-11 0:10
Andrew Brock17-Jan-11 0:10 
GeneralRe: Question for Static control with Notify property. Pin
Le@rner17-Jan-11 0:39
Le@rner17-Jan-11 0:39 
GeneralRe: Question for Static control with Notify property. Pin
Andrew Brock17-Jan-11 0:40
Andrew Brock17-Jan-11 0:40 
QuestionAccelerators, MFC -> ATL [solved] Pin
Niklas L16-Jan-11 22:25
Niklas L16-Jan-11 22:25 
QuestionC++ compiler needed plzzzz Pin
aesthetic.crazy16-Jan-11 9:54
aesthetic.crazy16-Jan-11 9:54 

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.