Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - IsFloating issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

IsFloating issue

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


Joined: 03 December 2003
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesC Quote  Post ReplyReply Direct Link To This Post Topic: IsFloating issue
    Posted: 29 January 2004 at 5:25pm
I have an MDI application and I want to close all the floating panes that are associated with a mdichildwnd when it switches to another mdichildwnd. the closing part works fine. but it seems that when I try to show all the windows that were floating.. I can't seem to determine what window those where. IsFloating() always returns false. Any ideas of how to determine the show "state" so I know what windows to show.. thanks.
Back to Top
vladsch View Drop Down
Newbie
Newbie


Joined: 04 February 2004
Location: Canada
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote vladsch Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2004 at 6:03am

Once you close the pane it is no longer floating.

You should save the Pane IDs that you want to reopen in the MDIchildwnd and call the pane manager ShowPane(PaneID) for every pane that you want to show. ShowPane will show the pane in the same state it was in when it was closed.

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.172 seconds.