Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » Disappearing tabs in TabCtrl
Disappearing tabs in TabCtrl [message #23527] Tue, 27 October 2009 14:40 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Hi,

I found funny problem with TabCtrl. When I maximize and minimize TabDlg example program when the second tab is selected, first tab "disappears" (see attached screenshot).

Steps to trigger this behavior:
1. Add MinimizeBox and MaximizeBox to TabDlg example program.
GUI_APP_MAIN
{
	TabDlg dlg;
	dlg.MinimizeBox().MaximizeBox();
	WithTab1Layout<ParentCtrl> tab1;
	WithTab2Layout<ParentCtrl> tab2;
	dlg(tab1, "Tab1")(tab2, "Tab2")
	   .OKCancel()
	   .Title("Tab dialog");
	dlg.Run();
}

2. Run it, switch to the second tab.
3. Maximize window
4. Minimize it to task bar.
5. Restore window (first tab should be gone).
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TabCtrl crash in debug mode when using remove method
Next Topic: Hide tab in TabCtrl
Goto Forum:
  


Current Time: Tue Apr 23 17:56:36 CEST 2024

Total time taken to generate the page: 0.02191 seconds