Print Page | Close Window

Can a Pane be Any Kind Of Object?

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=12248
Printed Date: 22 July 2025 at 4:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can a Pane be Any Kind Of Object?
Posted By: kent_t
Subject: Can a Pane be Any Kind Of Object?
Date Posted: 24 September 2008 at 4:12pm
Going through the Docking Pane examples I have confused myself as to what type of control/Window can be a "pane."

In the "Docking Containers" example the panes appear to be derived CWnd's. I thought they were going to be a specific class written by CodeJock to work within the framework. If they aren't, I do not have a proplem with that at all. In fact, I would think it's very cool.

Question: Can panes be any resonable window or dialog?

What I have to do is create a dockable "button bar/pane" with labels for each button. It needs to dock to each side of a MDI main window. It's a really simple design. Pressing the buttons will call functions that bring up other various dialog boxes for user interaction. It kind of like a "TooBox" type thing.

Can I use a borderless CDialog as a pane and then have the PaneManager control the docking actions?

Thank you.




Replies:
Posted By: Oleg
Date Posted: 25 September 2008 at 2:09am
Hi,
Any CWnd class can be Pane.


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


Posted By: Smucker
Date Posted: 25 September 2008 at 11:08am
I had problems using CDialog (sorry I can't remember exactly what they were -- perhaps just the scrolling) and switched to CFormView for dialog panes.




-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)




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