prop.h

来自「一个复杂的画图系统」· C头文件 代码 · 共 69 行

H
69
字号
#if !defined(AFX_PROP_H__710B9389_9297_11C6_BBFD_006008AC9EDC__INCLUDED_)
#define AFX_PROP_H__710B9389_9297_11C6_BBFD_006008AC9EDC__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// prop.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// Cprop dialog

class Cprop : public CDialogBar
{
// Construction
public:
	void ShowEdgeClr(unsigned int sel);
	void OtherShow(COLORREF color,int width,int linesty);
	void change(int objtype,int column,int value);
	void InitProp();
	void showname(CString name);
	void change(char *propname,int value);
	Cprop(CWnd* pParent = NULL);   // standard constructor
	CWnd *m_parent;
	int colum,bkclr;
	//next for change properity
	LV_ITEM item;
	char svalue[3];
// Dialog Data
	//{{AFX_DATA(Cprop)
	enum { IDD = IDD_PRPTBAR };
	CButton	m_edgeclr;
	CButton	m_Fill;
	CButton	m_colr;
	CEdit	m_wds;
	CSpinButtonCtrl	m_widthbdy;
	CListCtrl	m_list;
	CEdit	m_wdth;
	CSliderCtrl	m_width;
	CComboBox	m_name;
	BOOL	m_fill;
	CString	m_slx;
	CString	m_sly;
	CString	m_srx;
	CString	m_sry;
	int		m_linesty;
	int		m_widths;
	//}}AFX_DATA
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Cprop)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Cprop)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROP_H__710B9389_9297_11C6_BBFD_006008AC9EDC__INCLUDED_)

⌨️ 快捷键说明

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