|
-
July 1st, 2009, 07:15 AM
#1
Header in MDIChildFrameWnd
I'd like to have a header bar in an mdichildframewnd which displays a title for the current view. I'd like a toolbar to go below this.
I can create this bar overiding ondraw in a CView, but wondered if I could directly draw in the CMDIChildFrameWnd and get everything else to go below it? Using a CView involves a lot of refactoring which I'd like to avoid.
The result would be something like this:
-----------------------------------------------------
| Header
-----------------------------------------------------
| btn1 btn2 btn3
-----------------------------------------------------
The top row is my custom drawn header and the second row is a CToolBar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|