DJ_AM_Juicebox
asked on
toolbar for child frame
Hi,
I have an MDI application. Is it possible to make a toolbar inside one of my child frames? I don't mean a toolbar as part of MainFrm, but actually embedded inside the child frame at the top. I know this may contradict the MDI framework, just wondering if it's possible. Any examples?
Thanks
I have an MDI application. Is it possible to make a toolbar inside one of my child frames? I don't mean a toolbar as part of MainFrm, but actually embedded inside the child frame at the top. I know this may contradict the MDI framework, just wondering if it's possible. Any examples?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes Andy is right. If it was part of the view, it would work but it would be under the frame border. My mistake, you want it to be a child of your Child Frame so that it will be above your view edge.
Thanks Andy
Thanks Andy
I don't understand how I did not get the points for this question??
Giving a correct answer helps.
I would just create a normal toolbar as a child of your View Window. So when your view is created ON_WM_CREATE(), just create a child CToolBar of your view.
Here are a lot of tutorials on createing toolbars: http://www.codeproject.com/docking/#Toolbars
Good luck,
Brandon