propimages.h

来自「WinCE下绝好的工具条软件」· C头文件 代码 · 共 87 行

H
87
字号
#if !defined(AFX_PROPIMAGES_H__132EF2BC_F4DA_48E8_84E2_15E5EC2F88A2__INCLUDED_)
#define AFX_PROPIMAGES_H__132EF2BC_F4DA_48E8_84E2_15E5EC2F88A2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropImages.h : 僿僢僟乕 僼傽僀儖
//

typedef enum { LeftColor, RightColor } clr;

/////////////////////////////////////////////////////////////////////////////
// CPropImages 僟僀傾儘僌

class CPropImages : public CPropertyPage
{
	DECLARE_DYNCREATE(CPropImages)

// 僐儞僗僩儔僋僔儑儞
public:
	BOOL initialized;
	void resetItems();
	void SelectColor(COLORREF&);
	COLORREF GetThemeColor(clr);
	CPropImages();
	~CPropImages();

	LPWISBAR_SETUP_STRUCT	m_pOpt;

// 僟僀傾儘僌 僨乕僞
	//{{AFX_DATA(CPropImages)
	enum { IDD = IDD_PROP_IMAGES };
	CButton	m_btn2002Style;
	CButton	m_btnShift;
	CButton	m_btnApplyNow;
	CEdit	m_edtLogo;
	CButton	m_btnStdLogo;
	CButton	m_btnLogo;
	CButton	m_btnBG;
	CButton	m_btnBrLogo;
	CButton	m_btnBrBG;
	CButton m_btnGradient;
	CButton m_btn2002Colors;
	CButton m_btnStartCr;
	CButton m_btnEndCr;
	CEdit	m_edtBG;
	//}}AFX_DATA


// 僆乕僶乕儔僀僪
	// ClassWizard 偼壖憐娭悢偺僆乕僶乕儔僀僪傪惗惉偟傑偡丅

	//{{AFX_VIRTUAL(CPropImages)
	public:
	virtual BOOL OnApply();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 僒億乕僩
	//}}AFX_VIRTUAL

// 僀儞僾儕儊儞僥乕僔儑儞
protected:
	void BrowseBitmap( CEdit& edt,LPCTSTR lpTitle );
	// 惗惉偝傟偨儊僢僙乕僕 儅僢僾娭悢
	//{{AFX_MSG(CPropImages)
	afx_msg void OnChkLogo();
	afx_msg void OnChkBg();
	virtual BOOL OnInitDialog();
	afx_msg void OnBrBg();
	afx_msg void OnBrLogo();
	afx_msg void OnChkStdlogo();
	afx_msg void OnApplynow();
	afx_msg void OnChkSecure();
	afx_msg void OnChkGradient();
	afx_msg void OnStartcr();
	afx_msg void OnEndcr();
	afx_msg void OnChk2002();
	afx_msg void On2002Style();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ 偼慜峴偺捈慜偵捛壛偺愰尵傪憓擖偟傑偡丅

#endif // !defined(AFX_PROPIMAGES_H__132EF2BC_F4DA_48E8_84E2_15E5EC2F88A2__INCLUDED_)

⌨️ 快捷键说明

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