|
#if !defined(AFX_INSERTCATEGORYDIALOG_H__309BEA60_8A92_460E_8B7E_54B226E06952__INCLUDED_)
#define AFX_INSERTCATEGORYDIALOG_H__309BEA60_8A92_460E_8B7E_54B226E06952__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InsertCategoryDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CInsertCategoryDialog dialog
class CInsertCategoryDialog : public CDialog
{
// Construction
public:
CInsertCategoryDialog(CWnd* pParent = NULL); // standard constructor
~CInsertCategoryDialog();
void SetImageList(CImageList *pimgList) { m_pimgList = pimgList; }
long GetIconID() { return m_lIconID; }
BYTE GetRating() { return m_cRating; }
// Dialog Data
//{{AFX_DATA(CInsertCategoryDialog)
enum { IDD = IDD_INSERTCATEGORY_DIALOG };
CComboBox m_ctrlRating;
CStatic m_ctrlCategoryIcon;
CString m_strCategoryName;
CString m_strDescription;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInsertCategoryDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CInsertCategoryDialog)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeCategoryname();
afx_msg void OnChangeicon();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BYTE m_cRating;
long m_lIconID;
CImageList *m_pimgList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INSERTCATEGORYDIALOG_H__309BEA60_8A92_460E_8B7E_54B226E06952__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here