📄 atransclrsetdlg.h
字号:
#if !defined(AFX_ATRANSCLRSETDLG_H__E9FAAA65_08BD_46CE_929F_36EA85F28039__INCLUDED_)
#define AFX_ATRANSCLRSETDLG_H__E9FAAA65_08BD_46CE_929F_36EA85F28039__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ATransClrSetDlg.h : header file
//
#include "CoolStatic.h"
#include "NumericEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CATransClrSetDlg dialog
class CATransClrSetDlg : public CDialog
{
// Construction
public:
CATransClrSetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CATransClrSetDlg)
enum { IDD = IDD_DLG_ANIM_TRANS };
CStatic m_stcPrjName;
CNumericEdit m_edtRGB;
CNumericEdit m_edtR;
CNumericEdit m_edtG;
CNumericEdit m_edtB;
CCoolStatic m_stcColor;
CString m_strPrjName;
//}}AFX_DATA
UINT m_nBlue;
UINT m_nGreen;
UINT m_nRed;
UINT m_nRGB;
UINT m_nColor;
CString m_strRgbOldText;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CATransClrSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CATransClrSetDlg)
virtual BOOL OnInitDialog();
afx_msg void OnChangeEdtR();
afx_msg void OnChangeEdtB();
afx_msg void OnChangeEdtG();
afx_msg void OnChangeEdtRgb();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_bFromDec;//改变R,G,B的值,来改变RGB
BOOL m_bFromHex;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ATRANSCLRSETDLG_H__E9FAAA65_08BD_46CE_929F_36EA85F28039__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -