newitemdlg.h

来自「一个EVC开发的适用于WINCE平台的高级列表控件。实现了列表项的上下移动。」· C头文件 代码 · 共 55 行

H
55
字号
// NewItemDlg.h : header file
//
#if !defined(AFX_NEWITEMDLG_H__4ED350CA_A3E8_4949_A6ED_E0D3F179D6DB__INCLUDED_)
#define AFX_NEWITEMDLG_H__4ED350CA_A3E8_4949_A6ED_E0D3F179D6DB__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CNewItemDlg dialog

class CNewItemDlg : public CDialog
{
// Construction
public:
	CNewItemDlg(int nMaxImage, CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CNewItemDlg)
	enum { IDD = IDD_NEW_ITEM };
	CString	m_strCaption;
	int		m_nImage;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNewItemDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNewItemDlg)
    virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    afx_msg void OnRecognizeGesture(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); 
	afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
    int m_nMaxImage;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NEWITEMDLG_H__4ED350CA_A3E8_4949_A6ED_E0D3F179D6DB__INCLUDED_)

⌨️ 快捷键说明

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