Print Page | Close Window

how to change the dockingpane title dynamicly?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8851
Printed Date: 25 April 2024 at 6:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to change the dockingpane title dynamicly?
Posted By: chuyanj
Subject: how to change the dockingpane title dynamicly?
Date Posted: 21 November 2007 at 9:56am
how to change the dockingpane title dynamicly?

thanks!




Replies:
Posted By: Oleg
Date Posted: 23 November 2007 at 1:44am
SetTitle ?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: chuyanj
Date Posted: 23 November 2007 at 2:53am
I use SetTitle outside the notify****, but the program crash.


Posted By: Oleg
Date Posted: 23 November 2007 at 4:44am
Hi,
Guess you use wrong pointer to call SetTitle. Don't save pointers for panes - after you change layout they will be destroyed.
 
call m_paneManager.FindPane(ID)->SetTitle("New");


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: chuyanj
Date Posted: 26 November 2007 at 6:18am
thank you very much.
I got it



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net