January 30th, 2004, 08:15 AM
Docking 2 control bars HELP !!!
I need your help with the following problem :
I've got a frame window in witch on the left side i have a docked
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 !
January 30th, 2004, 08:48 AM
The code in the following link might apply for a toolbar with CBRS_ALIGN_LEFT and AFX_IDW_DOCKBAR_LEFT,
January 30th, 2004, 08:49 AM
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, 01:58 AM
Thanks a lot !
it worked fine
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!