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

📄 tlframe.h

📁 vc++源代码
💻 H
字号:
#if !defined(AFX_TLFRAME_H__99EB040C_4FA1_11D1_980A_004095E0DEFA__INCLUDED_)
#define AFX_TLFRAME_H__99EB040C_4FA1_11D1_980A_004095E0DEFA__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TLFrame.h : header file
//

#include "NewTreeListCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CTLFrame window

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

// Attributes
public:
	BOOL m_RTL;

	CFont m_headerFont;
	CNewTreeListCtrl m_tree;
	CScrollBar m_horScrollBar;

// Operations
private:
	static LONG FAR PASCAL DummyWndProc(HWND, UINT, WPARAM, LPARAM);
	void Initialize();

public:
	static void RegisterClass();
	BOOL SubclassDlgItem(UINT nID, CWnd* parent); // use in CDialog/CFormView

	void SortTree(int nCol, BOOL bAscending, HTREEITEM hParent);
	void ResetScrollBar();

	BOOL VerticalScrollVisible();
	BOOL HorizontalScrollVisible();

	int StretchWidth(int m_nWidth, int m_nMeasure);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTLFrame)
	protected:
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	virtual BOOL OnChildNotify( UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult );
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTLFrame();

	// Generated message map functions
protected:
	//{{AFX_MSG(CTLFrame)
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMove(int x, int y);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TLFRAME_H__99EB040C_4FA1_11D1_980A_004095E0DEFA__INCLUDED_)

⌨️ 快捷键说明

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