January 30th, 2004, 09: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, 09: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, 09: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, 02:58 AM
Thanks a lot !
it worked fine
Click Here to Expand Forum to Full Width