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.

exchange lines 3 and 4)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.