📄 setcolorstydlg.h
字号:
// SetColorStyDlg.h : header file
//
#if !defined(AFX_SETCOLORSTYDLG_H__A8685BCD_573D_42DF_A561_A7DF9B434229__INCLUDED_)
#define AFX_SETCOLORSTYDLG_H__A8685BCD_573D_42DF_A561_A7DF9B434229__INCLUDED_
#include "start.h" // Added by ClassView
#include "Page1.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSetColorStyDlg dialog
extern int List[3][100];
extern int count[3];
class CSetColorStyDlg : public CDialog
{
// Construction
public:
int m_winW;
int m_winH;
int m_winY;
int m_winX;
int m_actpage[3];
int m_staPointx[3];//绘制区域的起点,初始化时也从资源文件中导入
int m_staPointy[3];
UINT m_count[3];//资源列表中节目数
void (*Set)();
// int m_iStyle;
int m_iHigh[3];//显示区域高
int m_iWidth[3];//显示区域宽
typeRGB m_color[3];//设置的颜色
typeRGB m_rgbColor[3][100];
CSetColorStyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetColorStyDlg)
enum { IDD = IDD_SETCOLORSTY_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetColorStyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSetColorStyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnSetPro();
afx_msg void OnButtonRun();
afx_msg void OnButtonAreaSet();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
Cstart run;
int m_fstyList[100];//播放列表
int m_sstyList[100];
int m_tstyList[100];
//也要从资源文件中导入数据
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETCOLORSTYDLG_H__A8685BCD_573D_42DF_A561_A7DF9B434229__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -