Click here to Skip to main content
15,925,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: In one thread,how to kill another thread? Pin
GooGoo29-Apr-02 16:12
GooGoo29-Apr-02 16:12 
GeneralRe: In one thread,how to kill another thread? Pin
John M. Drescher30-Apr-02 9:25
John M. Drescher30-Apr-02 9:25 
GeneralA question about Listview Pin
xsword29-Apr-02 14:53
xsword29-Apr-02 14:53 
GeneralRe: A question about Listview Pin
29-Apr-02 17:21
suss29-Apr-02 17:21 
Generalvirtual function crash Pin
Steve Severance29-Apr-02 14:11
Steve Severance29-Apr-02 14:11 
GeneralRe: virtual function crash Pin
Tim Smith29-Apr-02 14:17
Tim Smith29-Apr-02 14:17 
GeneralRe: virtual function crash Pin
Steve Severance29-Apr-02 16:51
Steve Severance29-Apr-02 16:51 
GeneralRe: virtual function crash Pin
Nish Nishant29-Apr-02 14:20
sitebuilderNish Nishant29-Apr-02 14:20 
GeneralRe: virtual function crash Pin
Steve Severance29-Apr-02 16:51
Steve Severance29-Apr-02 16:51 
GeneralRe: virtual function crash Pin
Neville Franks30-Apr-02 2:11
Neville Franks30-Apr-02 2:11 
GeneralRe: virtual function crash Pin
30-Apr-02 7:30
suss30-Apr-02 7:30 
GeneralRe: virtual function crash Pin
Steve Severance30-Apr-02 19:27
Steve Severance30-Apr-02 19:27 
GeneralRe: virtual function crash Pin
Mike Nordell1-May-02 9:15
Mike Nordell1-May-02 9:15 
QuestionLayered child windows? Pin
Eugene Polonsky29-Apr-02 12:44
Eugene Polonsky29-Apr-02 12:44 
AnswerRe: Layered child windows? Pin
Mike Nordell29-Apr-02 13:08
Mike Nordell29-Apr-02 13:08 
GeneralRe: Layered child windows? Pin
Shog929-Apr-02 13:26
sitebuilderShog929-Apr-02 13:26 
AnswerRe: Layered child windows? Pin
Shog929-Apr-02 13:21
sitebuilderShog929-Apr-02 13:21 
Generaltwo dialogs Pin
tordyvel29-Apr-02 12:43
tordyvel29-Apr-02 12:43 
GeneralRe: two dialogs Pin
Shog929-Apr-02 13:36
sitebuilderShog929-Apr-02 13:36 
GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 14:12
sitebuilderNish Nishant29-Apr-02 14:12 
GeneralRe: two dialogs Pin
Shog929-Apr-02 15:15
sitebuilderShog929-Apr-02 15:15 
GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 15:20
sitebuilderNish Nishant29-Apr-02 15:20 
GeneralRe: two dialogs Pin
Shog929-Apr-02 15:01
sitebuilderShog929-Apr-02 15:01 
As Nish pointed out, my original solution does not work. I think there should be a way that it could work, but i haven't figured it out yet; if i do i'll reply again Smile | :)

Otherwise you can do this:

  1. Make your main dialog the dialog you wish to appear second
  2. In the main dialog's OnInitDialog(), create and show the first dialog.

The first dialog will then appear, and when it closes, the main dialog will appear.

--------

all the modern things
have always existed
they've just been waiting
to come out
and multiply
and take over

Björk, The Modern Things


GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 15:20
sitebuilderNish Nishant29-Apr-02 15:20 
GeneralHidden dialog Pin
29-Apr-02 12:43
suss29-Apr-02 12:43 

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.