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

📄 dialogdlg.h

📁 If you are not using these features and wish to reduce the size
💻 H
字号:
// dialogDlg.h : header file
//一个研究windows gdi的例子,望大家多提意见!
//									作者:pangzi2k(万涛)
//									2003.10.3	pangzi2k@yahoo.com.cn
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DIALOGDLG_H__FB350B2B_D7BD_4ED5_A689_5D7BE1EB47CD__INCLUDED_)
#define AFX_DIALOGDLG_H__FB350B2B_D7BD_4ED5_A689_5D7BE1EB47CD__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDialogDlg dialog
#include "EnBitmap.h"
#include "SkinButton.h"
#include "SkinStatic.h"
#include "SkinTabCtrl.h"
#include "SkinStatusBar.h"
#include "SkinToolBar.h"
#include "SkinView.h"
#include "SkinMenu.h"

class CDialogDlg : public CDialog
{
// Construction
public:
	void SetViewSize(int cx, int cy);
	COLORREF m_NormalText;
	COLORREF m_MainWindowBackGround;
	COLORREF m_ExplainViewBackGround;
	COLORREF m_ExplainViewBorder;
	COLORREF m_crFlatBK;
	COLORREF m_crFlatHighLight;
	COLORREF m_crHighLight;
	COLORREF m_crFlatGray;
	COLORREF m_crBtnShadow;
	COLORREF m_crFlatHighLightText;
	CSize m_LeftTitleBarPos;
	CSize m_ButtonMenusPos;
	CSize m_ButtonForewardPos;
	CSize m_ButtonBackwardPos;
	CSize m_ButtonHelpMePos;
	CSize m_ButtonGoDropDownPos;
	CSize m_ButtonGoPos;
	CString m_strPathName;
	CString GetPathName( const char * filename );
	CRect m_BorderSizes;
	COLORREF GetColor(char *buf);
	CRect GetRect(char *buf);
	CSize GetSize(char *buf);
	void SplitString(char *buf,int nCount,CStringList& strList);
	void LoadSkin(CString strFileName);
	CDialogDlg(CWnd* pParent = NULL);	// standard constructor
	CEnBitmap bmp;
	CEnBitmap m_bmpBottomBorder;
	CEnBitmap m_bmpRightBorder;
	BOOL m_bShow;
	UINT m_nMenuID;
// Dialog Data
	//{{AFX_DATA(CDialogDlg)
	enum { IDD = IDD_DIALOG_DIALOG };
	CComboBox	m_cbFind;
	CSkinStatusBar m_StatusBar;
	CSkinView	m_View;
	CSkinButton	m_btnHide;
	CSkinStatic	m_ToolBarBk;
	CSkinToolBar	m_ToolBar;
	CSkinStatic	m_Panel;
	CSkinButton	m_btnHelp;
	CSkinButton	m_btnBack;
	CSkinButton	m_btnMenu;
	CSkinButton	m_btnFore;
	CSkinButton	m_btnDropDown;
	CSkinButton	m_btnGo;
	CSkinStatic	m_MainTitle;
	CSkinTabCtrl	m_Tab;
	CSkinButton	m_btnDown;
	CSkinStatic	m_Title;
	CSkinButton	m_btnUp;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDialogDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnHide();
	afx_msg void OnScheme();
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
	afx_msg void OnSchemeBlue();
	afx_msg void OnSchemeSliver();
	afx_msg void OnSchemeDefault();
	afx_msg void OnSchemeGreen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DIALOGDLG_H__FB350B2B_D7BD_4ED5_A689_5D7BE1EB47CD__INCLUDED_)

⌨️ 快捷键说明

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