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 » Community » Newbie corner » TabDlg Change Default Background Window
Re: TabDlg Change Default Background Window [message #37693 is a reply to message #37669] Sat, 03 November 2012 09:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
nejnadusho wrote on Wed, 31 October 2012 21:26

Hi,

How can I change/redefine the default/predefined TabDlg
background window/layout and everything that is on top of it?
The one that is behind the tabs.

I tried the following but it does not work.
It gives me an error that I am trying to redefine the TopWindow which is what I am actually trying to do Very Happy

TabDlg adminDlg;

//-----------------------------
WithTabBackLayout<TopWindow> adminDlg;
//--------------------------------

WithAdminLayout<ParentCtrl> tab1;
WithAdminRegNewUserLayout<ParentCtrl> tab2;		
adminDlg (tab1, "Tab1")(tab2, "Tab2")
	.Title("Admin's Workspace")
	.Sizeable()
	.Zoomable();
		
adminDlg.Execute();


Thank you very much.

nejnio


You can't.

TabDlg is highly specialized class dealing with the most common type of tab dialogs. If your dialog is not that common, it is better to to just create your own dialog and put TabCtrl into it.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: THISBACK(function(parameter)) Error C2102
Next Topic: Derived Layouts Show/Hide & Run/Close in the Same Window
Goto Forum:
  


Current Time: Mon Jun 17 15:06:21 CEST 2024

Total time taken to generate the page: 0.02213 seconds