开发者

MFC MDI CView and some kind of bar at bottom of CView

I have created a MDI project with CView's using VS2008Pro. I want to have some sort of bar at the bottom of every CView where i can put controls on, like buttons. I dont know how this bar is called and how to create one for every CView.

I have a picture of it here to explain what i want. http://www.4shared.com/dir/32975742/b4bac91c/CView_Bar.html

Could someone please tell me wh开发者_开发知识库at kind of bar this would be and how to create it for CViews?

Thanks.


I think, what you want is basically a Toolbar (to answer your question how it is called) in an MDIChildWindow (similar like the toolbar in the main frame window of your application which is created usually by the MFC application wizard automatically). The way to add a toolbar in a child frame window is very analogous to what the wizard has added to the main frame window. You can decide in code where the toolbar shall be located (top, bottom, left, ...)

You can find a brief "How to..." here: http://support.microsoft.com/kb/155141

Also try to google by "Toolbar in MDIChildWindow" or similar. You'll find many resources, I believe.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜