Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Requestion :: How to show and hide window dialog? Collapse All
Subject Author Date
L Freddi Apr 1, 2009 - 8:48 PM

Dear Support, 


You misunderstand my question.


I have each dialog inside each one control bar.  "A" dialog inside "Awnd"control bar window. "B dialog inside "Bwnd"control bar window.


"A" ,"B",..dialog inherited CExtResizableDialog class


"Awnd", "Bwnd",.. control bar inherited CExtControlBar class


I don’t want to use tabcontainer.


I have serveral dialog in main page.


When I change the other page, "A","B",.. and "Awnd", "Bwnd", .. on main page were hided using  ShowWindow(HIDE) function.


But I return main page, "A","B",.. and "Awnd", "Bwnd", .. were still hided inspite using ShowWindow(SHOW).


Do you know  the solution that "A","B",.. and "Awnd", "Bwnd", ..  show up again?


Do you have another function except for ShowWindow()?


Any help is greatly appreciated.





Technical Support Apr 2, 2009 - 5:18 AM

It’s not correct to show/hide a windows created as a child of the CExtControlBar window. Your dialogs should always be visible. You should show/hide the CExtControlBar windows using the CFrameWnd::ShowControlBar() method instead.