资 源 简 介
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.-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
文 件 列 表
SCBDemo
ChildFrm.cpp
ChildFrm.h
MainFrm.cpp
MainFrm.h
mybar.cpp
mybar.h
ReadMe.txt
res
resource.h
SCBDemo.cpp
SCBDemo.dsp
SCBDemo.dsw
SCBDemo.h
SCBDemo.rc
SCBDemoDoc.cpp
SCBDemoDoc.h
SCBDemoView.cpp
SCBDemoView.h
sizecbar.cpp
sizecbar.h
StdAfx.cpp
StdAfx.h
SCBDemo2
ChildFrm.cpp
ChildFrm.h
MainFrm.cpp
MainFrm.h
mybar.cpp
mybar.h
ReadMe.txt
res
resource.h
SCBDemo.cpp
SCBDemo.dsp
SCBDemo.dsw
SCBDemo.h
SCBDemo.rc
SCBDemoDoc.cpp
SCBDemoDoc.h
SCBDemoView.cpp
SCBDemoView.h
sizecbar.cpp
sizecbar.h
StdAfx.cpp
StdAfx.h