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
TabDlg Change Default Background Window [message #37669] Thu, 01 November 2012 02:26 Go to next message
nejnadusho is currently offline  nejnadusho
Messages: 60
Registered: October 2012
Member
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

[Updated on: Thu, 01 November 2012 02:31]

Report message to a moderator

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 next message
mirek is currently offline  mirek
Messages: 13975
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
Re: TabDlg Change Default Background Window [message #37714 is a reply to message #37669] Sun, 04 November 2012 22:15 Go to previous message
nejnadusho is currently offline  nejnadusho
Messages: 60
Registered: October 2012
Member
Mirek,

Thank you.

However, I tried and find it difficult to understand the TabDlg class.

I even redefined it as MyTabDlg and poked here and there, but it is tough for me still.

If you give me some tips I might be able to pick it up.


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


Current Time: Mon May 06 16:58:03 CEST 2024

Total time taken to generate the page: 0.02688 seconds