0

Hi!
Only two windows-dialogs in my programm. On button click I do

this->EndDialog(0);
        MyWiew mw;
        mw.DoModal();   
        ShellExecute(0, NULL, fdlg.m_ofn.lpstrFile, NULL, NULL, SW_MINIMIZE);       

But MS WORD opens file and starts only when mw is closed. How to start it with the mw together?
Thanks in advance.

Edited by 330xi

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by 330xi
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.