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

📄 frame.h

📁 数据加密算法
💻 H
字号:
#pragma once

class CDancerFrame ;

// a CSplitterWnd-derived class that can notify its parent
class CNotifySplitter : public CSplitterWnd
{
	CDancerFrame* m_pFrame ;

public :
	CNotifySplitter ( ) ;
	~CNotifySplitter ( ) ;

	void AttachTo ( CDancerFrame* pFrame ) ; // attach to frame

	// override
	virtual void StopTracking ( BOOL bAccept ) ; // called when a dragging stopped
} ;

// child frame
class CDancerFrame : public CMDIChildWnd
{
	DECLARE_DYNCREATE ( CDancerFrame )
	DECLARE_MESSAGE_MAP ( )

private :
	// attribute
	CNotifySplitter m_wndHSplitter , m_wndVSplitter ;
	FLOAT m_fHRatio , m_fVRatio ;
	BOOL m_bReady ;

public :
	CDancerFrame ( ) ;
	~CDancerFrame ( ) ;

	// implementation
	void ResizeViews ( int cx , int cy ) ; // resize views when frame is sized
	void SaveSize ( ) ; // save views' size

protected:
	// override
	virtual BOOL OnCreateClient (
		LPCREATESTRUCT lpCreateStruct ,
		CCreateContext* pContext ) ;
	virtual BOOL PreCreateWindow ( CREATESTRUCT& CreateStruct ) ;

	// msg handler
	afx_msg int OnCreate ( LPCREATESTRUCT lpCreateStruct ) ;
	afx_msg void OnSize ( UINT nType , int cx , int cy ) ;
	afx_msg void OnClose ( ) ;
} ;

⌨️ 快捷键说明

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