Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 » Tab window Collapse All
Subject Author Date
Pavel Pavlov Nov 18, 2004 - 7:21 PM

Hello!


In my child frame I have CExtTabWnd control with two CView-based windows as pages. But if I minimize my application by pressing system menu button in captionbar, and restore it, my tabs are disappeared. What is happened?

Technical Support Nov 22, 2004 - 2:22 AM

To help you, we need some more details:

- Do you use a CExtTabPageContainerWnd-based window with CView-based windows inside?
- Or do you have a classic MDI application with MDI tab control?
- Which view classes exactly are used as base classes of your view windows (CView, CScrollView, CFormView, and etc.)?

Of course, to clear the issue your source code would be helpful (Feel free to send us a test application so that we can help you quicker) .

Pavel Pavlov Nov 22, 2004 - 2:57 AM

I have CMDIChildWnd-based class as child frame with CExtTabFlatWnd member in it. In overrided method OnTabWndClickedItem I show or hiding views. Classes used as panes are CView-based classes, neither CFormView or CScrollView. But one of them have your control grid.

Technical Support Nov 22, 2004 - 7:25 AM

You have your own tab control and use it for switching between two windows. And you have performed view switching manually. We guess the error is somewhere in your code, not in Prof-UIS. To help you, we need to take a look at your project.

Pavel Pavlov Nov 25, 2004 - 2:45 AM

I solved this problem by giving zorder top most mode to tab window control after changing minimize\normal\maximize state of application.