-
January 30th, 2004, 09:15 AM
#1
Docking 2 control bars HELP !!!
Dear members,
I need your help with the following problem :
I've got a frame window in witch on the left side i have a docked
controlbar
Now i need to dock another controlbar on the left side, just over the first one, both should have the same width.
So how can i dock 2 bars on the left side, one being over the other
I'm expecting very much an thanks a lot !
Andreas
-
January 30th, 2004, 09:48 AM
#2
Hi,
The code in the following link might apply for a toolbar with CBRS_ALIGN_LEFT and AFX_IDW_DOCKBAR_LEFT,
http://www.codeguru.com/toolbar/demo_toolbar_d.shtml
TDM
-
January 30th, 2004, 09:49 AM
#3
Look at:
CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
Find how the first control bar is crated, and then repeat steps. You can copy code, but provide ID for your new control bar, instead of the first one.
You also have to add a declaration to the MainFrame.h
-
February 2nd, 2004, 02:58 AM
#4
Thanks a lot !
it worked fine
Andreas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|