Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dock panes when app closes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dock panes when app closes

 Post Reply Post Reply
Author
Message
thodgson View Drop Down
Groupie
Groupie


Joined: 11 August 2003
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote thodgson Quote  Post ReplyReply Direct Link To This Post Topic: Dock panes when app closes
    Posted: 03 March 2005 at 1:06pm

I have a number of docking panes in my application that I would like to ensure are docked when the application closes.  In other words, when the application closes, if a docking pane is floating, I want it docked.

I've tried docking in OnClose and OnDestroy of the CMainFrame class where the pane manager member variable and panes are initialized, but I keep getting weird errors when I call the IsFloating method of the pane.

Ideas and suggestions are welcome.

Thanks,
Tim Hodgson
ExclamationSoft 

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 04 March 2005 at 12:26am

May be easy to dock them on application start instead?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.