Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Can a Pane be Any Kind Of Object?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can a Pane be Any Kind Of Object?

 Post Reply Post Reply
Author
Message
kent_t View Drop Down
Groupie
Groupie


Joined: 15 July 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote kent_t Quote  Post ReplyReply Direct Link To This Post Topic: Can a Pane be Any Kind Of Object?
    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.

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: 25 September 2008 at 2:09am
Hi,
Any CWnd class can be Pane.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post 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)

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