📄 props.h
字号:
#if !defined(AFX_PROPS_H__E898CF35_BAD7_49D3_8E4C_4739AD2A61AA__INCLUDED_)
#define AFX_PROPS_H__E898CF35_BAD7_49D3_8E4C_4739AD2A61AA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Props.h : header file
//
#include "Page1.h"
/////////////////////////////////////////////////////////////////////////////
// CProps dialog
extern int List[3][100];
extern int count[3];
class CProps : public CPropertyPage
{
DECLARE_DYNCREATE(CProps)
// Construction
public:
int m_lstIndex;
BOOL m_selChange;
void SetList(int index);
CProps();
~CProps();
// int List[100];
// int m_indexList[100];
// int m_iCount;
// int m_iStyle;
CRect m_RectNew;//IDC_COLOR_NEW
typeRGB Color[100];
// Dialog Data
//{{AFX_DATA(CProps)
enum { IDD = IDD_PROPPAGE_LARGE3 };
CSpinButtonCtrl m_spinRed;
CSpinButtonCtrl m_spinGreen;
CSpinButtonCtrl m_spinBlue;
CSliderCtrl m_sldRed;
CSliderCtrl m_sldGreen;
CSliderCtrl m_sldBlue;
CListBox m_styec;
CString m_edtBlueValue;
CString m_edtGreenValue;
CString m_edtRedValue;
int m_sldBlueValue;
int m_sldGreenValue;
int m_sldRedValue;
CString m_stye;
CString m_stye1;
UINT m_count;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CProps)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CProps)
afx_msg void OnPaint();
afx_msg void OnButtonAdd();
afx_msg void OnButtonRemove();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual BOOL OnInitDialog();
afx_msg void OnDblclkList1();
afx_msg void OnDblclkList2();
afx_msg void OnSelchangeList2();
afx_msg void OnSelchangeList1();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
HICON m_hIcon;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROPS_H__E898CF35_BAD7_49D3_8E4C_4739AD2A61AA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -