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
DJ_AM_JuiceboxAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
I think bdunz19 means as a child of the ChidFrame not the view.

(Have a look at the code to create the toolbar that is part of the main frame of your app).
0
 
bdunz19Commented:
Hi DJ AM,

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
0
 
bdunz19Commented:
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
0
 
bdunz19Commented:
I don't understand how I did not get the points for this question??
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Giving a correct answer helps.
0
All Courses

From novice to tech pro — start learning today.