Hiding main dialog window

My application have a main dialog window , and some User-interface threads with their own dialog windows.
I want to hide the main window while all other windows are REMAINING DISPLAYED.
(If i use ShowWindow(SW_HIDE) on the main window , all other windows become hidden too)
Are where a way to keep all other windows still displayed?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Some way or another, the other dialogs are owned by the main window, and that is why they are being hidden also.
luisr is on the right track - if all of your dialogs are children of the main window, they will be hidden. Try creating them with no parent and see if you get the same behavior.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vinayak KumbarSr Program ManagerCommented:

After poping all the required dialogs, Set the timer to the main window, and then kill it in WM_TIMER messagemap aswellas hide the main window.

spawn thread1;
this->SetTimer(1, 200, NULL);

In the WM_TIMER message Map


Try it out.

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

dmitry1Author Commented:
Althought its impossible to create dialogs with "no parent" at all (then main window becomes a parent) I have Create()ed  without showing a temporary dialog,and set it as a main window (=theApp.m_pMainWnd),and then all the task become working . Thanks for the hint!
Hey! didn't I propose the solution first?
dmitry1Author Commented:
I could give points only to one , so i have had choosed the most helping hint, but if you know how i can give you your points too, email me , and you'll get your points

It's ok, but I think we said basically the same thing, didn't we?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.