Source code of Windows XP (NT5)
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.

57 lines
1.7 KiB

  1. #if !defined(AFX_WIAEDITPROPFLAGS_H__4A3D69F0_06C3_490F_8467_AFB74772B6C3__INCLUDED_)
  2. #define AFX_WIAEDITPROPFLAGS_H__4A3D69F0_06C3_490F_8467_AFB74772B6C3__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Wiaeditpropflags.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CWiaeditpropflags dialog
  10. class CWiaeditpropflags : public CDialog
  11. {
  12. // Construction
  13. public:
  14. void AddValidValuesToListBox();
  15. void SelectCurrentValue();
  16. void SetPropertyName(TCHAR *szPropertyName);
  17. void SetPropertyValue(TCHAR *szPropertyValue);
  18. void SetPropertyValidValues(LONG lPropertyValidValues);
  19. CWiaeditpropflags(CWnd* pParent = NULL); // standard constructor
  20. // Dialog Data
  21. //{{AFX_DATA(CWiaeditpropflags)
  22. enum { IDD = IDD_EDIT_WIAPROP_FLAGS_DIALOG };
  23. CListBox m_PropertyValidValuesListBox;
  24. CString m_szPropertyName;
  25. CString m_szPropertyValue;
  26. LONG m_lValidValues;
  27. LONG m_lCurrentValue;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CWiaeditpropflags)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CWiaeditpropflags)
  39. afx_msg void OnSelchangeFlagsPropertyvalueListbox();
  40. virtual BOOL OnInitDialog();
  41. virtual void OnOK();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_WIAEDITPROPFLAGS_H__4A3D69F0_06C3_490F_8467_AFB74772B6C3__INCLUDED_)