![]() |
Can a Pane be Any Kind Of Object? |
Post Reply ![]() |
Author | |
kent_t ![]() Groupie ![]() Joined: 15 July 2008 Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Any CWnd class can be Pane.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Smucker ![]() Senior Member ![]() ![]() Joined: 02 February 2008 Status: Offline Points: 156 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |