Dialog manipulation in ATL
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, i did program, in which i used 5 dialogboxes of which one is the main dlg. Whenever i show a dialogbox otherthan maindlg i should hide&restore the maindlg.I did it in MFC by with the help of AfxGetMainWnd() & showwindow().but when i told to do the same program as ATL Component, i am not able to hide&restore the main dlg(i tried with GetActiveWindow()& ShowWindow()). Is there any solution for my problem, please help me. Thanx in advance:(