Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - how to change the dockingpane title dynamicly?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to change the dockingpane title dynamicly?

 Post Reply Post Reply
Author
Message
chuyanj View Drop Down
Newbie
Newbie


Joined: 13 November 2007
Location: United Kingdom
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote chuyanj Quote  Post ReplyReply Direct Link To This Post Topic: how to change the dockingpane title dynamicly?
    Posted: 21 November 2007 at 9:56am
how to change the dockingpane title dynamicly?

thanks!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2007 at 1:44am
SetTitle ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
chuyanj View Drop Down
Newbie
Newbie


Joined: 13 November 2007
Location: United Kingdom
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote chuyanj Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2007 at 2:53am
I use SetTitle outside the notify****, but the program crash.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
chuyanj View Drop Down
Newbie
Newbie


Joined: 13 November 2007
Location: United Kingdom
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote chuyanj Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2007 at 6:18am
thank you very much.
I got it
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.