📄 ommonstatic.h
字号:
// ommonStatic.h: interface for the CommonStatic class.
//
//////////////////////////////////////////////////////////////////////
//这个类是与CDrawToolBar与CDrawStatic配合使用的。里面是静态成员。
//存放消息处理函数与回调函数。
#if !defined(AFX_OMMONSTATIC_H__9B996148_F57F_426E_986A_35DDC20D39CE__INCLUDED_)
#define AFX_OMMONSTATIC_H__9B996148_F57F_426E_986A_35DDC20D39CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CommonStatic
{
public:
CommonStatic();
virtual ~CommonStatic();
public:
static void PaintProcToolBar(CDC *pDC,CString strInfo);
static WNDPROC previousParentProc;//用来存DrawToolBar父框架原先WndProc
static LRESULT CALLBACK ParentWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static void PaintProcStatic(CDC *pDC, CString strInfo);
static void PaintProcStatic2(CDC *pDC, CString strInfo);
static void PaintProcStatic3(CDC *pDC, CString strInfo);
static void CommonStatic::PaintProcToolBar2(CDC *pDC, CString strInfo);
static void CommonStatic::PaintProcStatic4(CDC *pDC, CString strInfo);
};
#endif // !defined(AFX_OMMONSTATIC_H__9B996148_F57F_426E_986A_35DDC20D39CE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -