Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to make a window(?) Pin
Tomasz Sowinski18-Mar-02 23:43
Tomasz Sowinski18-Mar-02 23:43 
GeneralHopefully easy doc/view question Pin
Coremn18-Mar-02 13:28
Coremn18-Mar-02 13:28 
GeneralRe: Hopefully easy doc/view question Pin
Joaquín M López Muñoz18-Mar-02 13:30
Joaquín M López Muñoz18-Mar-02 13:30 
GeneralRe: Hopefully easy doc/view question Pin
Nish Nishant18-Mar-02 13:40
sitebuilderNish Nishant18-Mar-02 13:40 
GeneralRe: Hopefully easy doc/view question Pin
Derek Waters18-Mar-02 14:19
Derek Waters18-Mar-02 14:19 
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 
MFC Application
SDI

I have a wizard that is normally launched from the view class in a message handler, CMyView::OnWizard(). However, I want the wizard to launch automatically after the view has been initialized at startup, and after it is already showing on the screen. Placing a call to OnWizard() in the CMyView::OnInitialUpdate() handler causes the wizard to launch before the view is visible on the screen.

It seems like I should call CMyView::OnWizard() from CMyApp::InitInstance(), but I don't know how to get a pointer to the view object. Is this even the correct way to go about it?

Many thanks,

Jon Sagara

What about Green Alien | [Alien] ?

Best Miniputt score: 21
Sonork ID: 100.9999 jonsagara
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 
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 

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.