⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 childview.h

📁 一个SGIP网关的程序源码.vc代码
💻 H
字号:
// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDVIEW_H__AB9C3E88_D40B_4B0A_8132_A0351D9F287A__INCLUDED_)
#define AFX_CHILDVIEW_H__AB9C3E88_D40B_4B0A_8132_A0351D9F287A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CChildView window

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CChildView();

	CRichEditCtrl mRich;
	// Generated message map functions
private:
	CRITICAL_SECTION mLock;
protected:
	//{{AFX_MSG(CChildView)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void ShowMessage( char *strMsg, COLORREF clrColor, BOOL blnNewLine = TRUE );
	void ShowTimeMsg(char *strMsg, COLORREF clrColor = RGB(255,255,255));
	void ShowLockMsg(char *strMsg, COLORREF clrColor = RGB(255,255,255));
	void ShowMsgNoLine(char *strMsg, COLORREF clrColor = RGB(255,255,255));
	inline void Lock() { ::EnterCriticalSection(&mLock); }
	inline void Unlock() {::LeaveCriticalSection(&mLock); }
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHILDVIEW_H__AB9C3E88_D40B_4B0A_8132_A0351D9F287A__INCLUDED_)
extern CChildView *gpView;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -