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 Tech Support » CExtTabMdiWnd Bug: Min/Max/Restore Button sometimes missing Collapse All
Subject Author Date
Wilhelm Falkner May 24, 2012 - 11:00 AM

hi,


when using CExtTabMdiWnd the minimize / maximize / Restore buttons are very often not displayed. It also happens, that they are displayed, if not needed (e.g. document is NOT maximized). Switching to other themes sometimes help, sometimes do not help.


Pls help


Another question: is it possible, to make the CExtTabMdiWnd a scrolled window? Like you do it in ::PreCreateWindow of MainFrame by setting cs.style to WS_VSCROLL and WS_HSCROLL?


 


TIA


Willi

Technical Support May 28, 2012 - 11:30 AM

The CExtTabMdiWnd window is just a kind of CExtTabWnd window with automatic docking to MDI frame window sides and automatic tab item synchronization with list of currently created MDI child frame windows. You can show scrolling buttons for tab items using the __ETWS_SHOW_BTN_SCROLL_HOME | __ETWS_SHOW_BTN_SCROLL_END styles of the CExtTabWnd window and the CExtTabWnd::ModifyTabWndStyle() method.

Wilhelm Falkner May 29, 2012 - 3:28 AM

Sorry, that was not my question. Your solution shows the scroll buttons for the tabs. I want to have that possibility to have the background scrolled. E.g. you have a window open of size 4000 x 4000. To see lower and/or right part of window, I need scrolling functions. Without CExtTabMdiWndI get this feature by adding cs.style with WS_VSCROLL and WS_HSCROLL in PreCreateWindow of mainframe. when using CExtTabMdiWnd these scrollbars are missing.


Hope you now understand my question.


And what’s about the minimize/maximize/restore buttons when window ins maximized?


TIA


Willi