ommonstatic.h
来自「VC&Matlab混合编程实现无线电导航指示器」· C头文件 代码 · 共 32 行
H
32 行
// 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 + =
减小字号Ctrl + -
显示快捷键?