Print Page | Close Window

Get count of pane neighbors

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=4017
Printed Date: 12 December 2024 at 5:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get count of pane neighbors
Posted By: guywmustang
Subject: Get count of pane neighbors
Date 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!




Replies:
Posted By: Oleg
Date Posted: 18 April 2006 at 10:51am

Hi,

pPane->IsFloating()



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


Posted By: guywmustang
Date Posted: 18 April 2006 at 1:27pm
Howabout getting a count of a pane's neighbors, or a list of or something?


Posted By: Oleg
Date 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



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