Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hopefully easy doc/view question Pin
realfly18-Mar-02 14:17
realfly18-Mar-02 14:17 
GeneralRe: Hopefully easy doc/view question Pin
Coremn18-Mar-02 14:27
Coremn18-Mar-02 14:27 
GeneralLaunching a wizard on application startup Pin
Jon Sagara18-Mar-02 13:02
Jon Sagara18-Mar-02 13:02 
GeneralRe: Launching a wizard on application startup Pin
Joaquín M López Muñoz18-Mar-02 13:12
Joaquín M López Muñoz18-Mar-02 13:12 
GeneralRe: Launching a wizard on application startup Pin
Jon Sagara18-Mar-02 13:12
Jon Sagara18-Mar-02 13:12 
GeneralRe: Launching a wizard on application startup Pin
Nish Nishant18-Mar-02 13:43
sitebuilderNish Nishant18-Mar-02 13:43 
GeneralRe: Launching a wizard on application startup Pin
Jon Sagara18-Mar-02 13:52
Jon Sagara18-Mar-02 13:52 
GeneralRe: Launching a wizard on application startup Pin
Nish Nishant18-Mar-02 13:53
sitebuilderNish Nishant18-Mar-02 13:53 
Jon

I don't think you should even do all this from the CWinApp derived class.

Can you try this. From your CMyView::OnInitialUpdate() post a custom message, say WM_APP+1 to your CMyView. Tehn in the handler for that message, call your function.

This technique is used to hide modal dialogs. Because in the OnInitDialog if we hide the window, it won't be effective as the window is not shown yet. So we post a message and the message handler hides the window.

I didnt try this out and am too lazy to try it out now.
6:32 AM now. I am not in an active condition as you might expect Smile | :)

But please could you try this out and let me know it it did work?

If it does not work, I apologize for the inconvenience caused...

Regards
Nish

My miniputt high is now 29
I do not think I can improve on that
My temperament won't hold

www.busterboy.org


GeneralRe: Launching a wizard on application startup Pin
Jon Sagara18-Mar-02 13:59
Jon Sagara18-Mar-02 13:59 
GeneralRe: Launching a wizard on application startup Pin
Nish Nishant18-Mar-02 14:02
sitebuilderNish Nishant18-Mar-02 14:02 
GeneralRe: Launching a wizard on application startup Pin
Jon Sagara19-Mar-02 9:50
Jon Sagara19-Mar-02 9:50 
GeneralRe: Launching a wizard on application startup Pin
Derek Waters19-Mar-02 11:23
Derek Waters19-Mar-02 11:23 
GeneralPlaying MIDI notes Pin
18-Mar-02 12:35
suss18-Mar-02 12:35 
GeneralModified CFileDialog Pin
RK_200018-Mar-02 12:22
RK_200018-Mar-02 12:22 
GeneralRe: Modified CFileDialog Pin
Joaquín M López Muñoz18-Mar-02 13:21
Joaquín M López Muñoz18-Mar-02 13:21 
GeneralRe: Modified CFileDialog Pin
18-Mar-02 18:01
suss18-Mar-02 18:01 
GeneralFile System for both Linux and Windows platforms Pin
18-Mar-02 12:20
suss18-Mar-02 12:20 
GeneralRe: File System for both Linux and Windows platforms Pin
Joaquín M López Muñoz18-Mar-02 13:28
Joaquín M López Muñoz18-Mar-02 13:28 
GeneralRe: File System for both Linux and Windows platforms Pin
Nish Nishant18-Mar-02 13:45
sitebuilderNish Nishant18-Mar-02 13:45 
GeneralRe: File System for both Linux and Windows platforms Pin
19-Mar-02 10:56
suss19-Mar-02 10:56 
GeneralRe: File System for both Linux and Windows platforms Pin
Nemanja Trifunovic19-Mar-02 11:05
Nemanja Trifunovic19-Mar-02 11:05 
QuestionHow to Send an email w/ MAPI Pin
Aaron Schaefer18-Mar-02 12:14
Aaron Schaefer18-Mar-02 12:14 
AnswerRe: How to Send an email w/ MAPI Pin
Joaquín M López Muñoz18-Mar-02 13:42
Joaquín M López Muñoz18-Mar-02 13:42 
GeneralRe: How to Send an email w/ MAPI Pin
Aaron Schaefer19-Mar-02 6:42
Aaron Schaefer19-Mar-02 6:42 
Generalproblem Pin
Steve L.18-Mar-02 11:22
Steve L.18-Mar-02 11:22 

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.