xpmenu.h
来自「ado操作数据库。oracle,sql2000只需更换连接字符串即可。 另外说明」· C头文件 代码 · 共 39 行
H
39 行
// XPMenu.h: interface for the CXPMenu class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_XPMENU_H__EE2550C4_41A5_4313_8B33_186F4476AD69__INCLUDED_)
#define AFX_XPMENU_H__EE2550C4_41A5_4313_8B33_186F4476AD69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// informations for menu items
class CItemInfo
{
public:
UINT uIdNormal;
UINT uIdSelect;
CString sText;
};
class CXPMenu : public CMenu
{
public:
// construction / destruction
CXPMenu();
virtual ~CXPMenu();
// general functions
void DrawBgClr(CDC* pDC, CRect rect, BOOL bSelected);
void DrawIcon(CDC* pDC, CRect rect, UINT uIdNormal, UINT uIdSelect, BOOL bSelected);
void DrawText(CDC* pDC, CRect rect, CString sText);
// virtual functions
virtual void DrawItem(LPDRAWITEMSTRUCT);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
};
#endif // !defined(AFX_XPMENU_H__EE2550C4_41A5_4313_8B33_186F4476AD69__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?