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 Remove 'Close' Button
Re: TabDlg Remove 'Close' Button [message #37682 is a reply to message #37668] Thu, 01 November 2012 21:18 Go to previous messageGo to previous message
nejnadusho is currently offline  nejnadusho
Messages: 60
Registered: October 2012
Member
Hi Honza,

No kidding you are already my U++ Guru Smile

Quote:


dolik.rce wrote on Thu, 01 November 2012 02:49
All the Ctrls on TabDlg are fortunately public, so you can do anything with them To remove the default close button, just add following before the Execute() call:
		adminDlg.RemoveChild(&adminDlg.exit);
		adminDlg.tabctrl.SizePos();


The first line removes the button, the second resizes the ctrl holding the tabs, so that entire area is used.






From what I understand the TabCtrl is a subclass in TabDlg.
Is that correct?


Best,
nejnio

[Updated on: Thu, 01 November 2012 21:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What type are the tabs?
Next Topic: THISBACK(function(parameter)) Error C2102
Goto Forum:
  


Current Time: Tue Jul 08 22:17:20 CEST 2025

Total time taken to generate the page: 0.03614 seconds