Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: CChoice.h
  7. //
  8. // Contents: definition of CConfigChoice
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CCHOICE_H__B03DDCA9_7F54_11D2_B136_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CCHOICE_H__B03DDCA9_7F54_11D2_B136_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CConfigChoice dialog
  18. class CConfigChoice : public CAttribute
  19. {
  20. // Construction
  21. public:
  22. virtual void Initialize(CResult * pResult);
  23. // virtual void SetInitialValue(DWORD_PTR dw) {};
  24. CConfigChoice(UINT nTemplateID); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CConfigChoice)
  27. enum { IDD = IDD_CONFIG_REGCHOICES };
  28. CComboBox m_cbChoices;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CConfigChoice)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CConfigChoice)
  40. virtual BOOL OnInitDialog();
  41. virtual BOOL OnApply();
  42. afx_msg void OnSelchangeChoices();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. PREGCHOICE m_pChoices;
  46. };
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_CCHOICE_H__B03DDCA9_7F54_11D2_B136_00C04FB6C6FA__INCLUDED_)