Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Get count of pane neighbors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get count of pane neighbors

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


Joined: 17 April 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote guywmustang Quote  Post ReplyReply Direct Link To This Post Topic: Get count of pane neighbors
    Posted: 17 April 2006 at 2:58pm

So I want to figure out if a particular pane has any neighbors, or is the only pane in a floating window.

Also, howabout finding out if the window is floating? Is there an easy way I'm missing?

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: 18 April 2006 at 10:51am

Hi,

pPane->IsFloating()

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
guywmustang View Drop Down
Newbie
Newbie


Joined: 17 April 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote guywmustang Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2006 at 1:27pm
Howabout getting a count of a pane's neighbors, or a list of or something?
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: 18 April 2006 at 1:57pm

Some hints:

GetParentFrame()

CXTPDockingPaneMiniWnd::GetTopPane()

 pTopContainer->FindPane(xtpPaneTypeTabbedContainer, &lst);
 int nCount = (int)lst.GetCount();

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