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.

56 lines
1.2 KiB

  1. // NewObject.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CNewObject dialog
  5. class CNewObject : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CNewObject(CWnd* pParent = NULL); // standard constructor
  10. // Dialog Data
  11. //{{AFX_DATA(CNewObject)
  12. enum { IDD = IDD_OLEDSPATH };
  13. CButton m_UseExtendedSyntax;
  14. CComboBox m_OpenAs;
  15. CComboBox m_OleDsPath;
  16. CButton m_Secure;
  17. CButton m_Encryption;
  18. CButton m_UseOpen;
  19. CEdit m_Password;
  20. //}}AFX_DATA
  21. public:
  22. CString& GetObjectPath( );
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CNewObject)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CNewObject)
  33. virtual void OnOK();
  34. virtual BOOL OnInitDialog();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. private:
  38. void SaveLRUList( int idCBox, TCHAR* szSection, int nMax = 100 );
  39. void GetLRUList( int idCBox, TCHAR* szSection );
  40. public:
  41. CString m_strPath;
  42. CString m_strOpenAs;
  43. CString m_strPassword;
  44. BOOL m_bUseOpen;
  45. BOOL m_bSecure;
  46. BOOL m_bEncryption;
  47. BOOL m_bUseExtendedSyntax;
  48. };