Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to launch the dialogbar initially at docked state on the right bottom of the main window.

PS:
I want to use CDialogbar.
now I am using a class which is derived from CDialogbar.

Please help me.
Posted
Updated 18-Jul-11 5:25am
v2
Comments
Joan M 18-Jul-11 11:28am    
Don't use an answer in order to add more comments to your own question. You should use directly "Improve question" at the bottom of your question itself. If you do that often, people here will remove your question, downvote your posts and start avoiding your questions.
shamnu 18-Jul-11 11:35am    
sorry i am a beginner
and thank you so much for your info :)
Joan M 18-Jul-11 11:44am    
Don't worry, you are welcome... Putting a knickname different than the typical "member xxxx" will also help you to get better results... you will see that CP is like a big family full of great guys and gals that will help you a lot... Enjoy your stay! :)

DockControlBar(&m_wndToolBar, AFX_IDW_DOCKBAR_BOTTOM); will dock your control bar on bottom of your main window.
 
Share this answer
 
Comments
shamnu 19-Jul-11 0:31am    
thank you so much
it give me a hint to the solution
i want to dock the dialog bar exactly to the right bottom of the main window
so i use
CRect rect;
rect.left = 800;
rect.right = 1200;
rect.top = 500;
rect.bottom = 900;
pMainFrm->DockControlBar(m_pDisplaySizingBar,AFX_IDW_DOCKBAR_RIGHT,rect);
thank you
How about create a custom CLASS control
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900