Introduction - If you have any usage issues, please Google them yourself
A Powerfull Ownerdraw Menu A fully featured owner-draw menu class CMenuXP is a class derived from CMenu using ownerdraw technology. I named it MenuXP because I expected it to be like the menus found in Office XP and Windows XP, but I failed to accomplish it. The main difficulty that I had was converting the 3D border of the menu into a flat one, but I hope it is still useful to you. I constructed the class from the Scribble sample application and some of the drawing code is copied from the CCoolMenuManager class. Additionally, I have also used a class named CBCGKeyHelper from BCGControlBar to show the accelerator key text.
Packet : 63535326dock_window_demo.zip filelist
SCBDemo/
SCBDemo2/
SCBDemo2/ChildFrm.cpp
SCBDemo2/ChildFrm.h
SCBDemo2/MainFrm.cpp
SCBDemo2/MainFrm.h
SCBDemo2/mybar.cpp
SCBDemo2/mybar.h
SCBDemo2/ReadMe.txt
SCBDemo2/res/
SCBDemo2/resource.h
SCBDemo2/res/SCBDemo.ico
SCBDemo2/res/SCBDemo.rc2
SCBDemo2/res/SCBDemoDoc.ico
SCBDemo2/res/Toolbar.bmp
SCBDemo2/res/toolbar1.bmp
SCBDemo2/SCBDemo.cpp
SCBDemo2/SCBDemo.dsp
SCBDemo2/SCBDemo.dsw
SCBDemo2/SCBDemo.h
SCBDemo2/SCBDemo.rc
SCBDemo2/SCBDemoDoc.cpp
SCBDemo2/SCBDemoDoc.h
SCBDemo2/SCBDemoView.cpp
SCBDemo2/SCBDemoView.h
SCBDemo2/sizecbar.cpp
SCBDemo2/sizecbar.h
SCBDemo2/StdAfx.cpp
SCBDemo2/StdAfx.h
SCBDemo/ChildFrm.cpp
SCBDemo/ChildFrm.h
SCBDemo/MainFrm.cpp
SCBDemo/MainFrm.h
SCBDemo/mybar.cpp
SCBDemo/mybar.h
SCBDemo/ReadMe.txt
SCBDemo/res/
SCBDemo/resource.h
SCBDemo/res/SCBDemo.ico
SCBDemo/res/SCBDemo.rc2
SCBDemo/res/SCBDemoDoc.ico
SCBDemo/res/Toolbar.bmp
SCBDemo/SCBDemo.cpp
SCBDemo/SCBDemo.dsp
SCBDemo/SCBDemo.dsw
SCBDemo/SCBDemo.h
SCBDemo/SCBDemo.rc
SCBDemo/SCBDemoDoc.cpp
SCBDemo/SCBDemoDoc.h
SCBDemo/SCBDemoView.cpp
SCBDemo/SCBDemoView.h
SCBDemo/sizecbar.cpp
SCBDemo/sizecbar.h
SCBDemo/StdAfx.cpp
SCBDemo/StdAfx.h