home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / dpdlg / dpdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-12  |  2.4 KB  |  81 lines

  1. #if !defined(AFX_DPDLG_H__B1EE6A50_FB28_11D0_9F5E_B42103C10710__INCLUDED_)
  2. #define AFX_DPDLG_H__B1EE6A50_FB28_11D0_9F5E_B42103C10710__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12.  
  13. // Dispatch interfaces referenced by this interface
  14. class CPicture;
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDPDlg wrapper class
  18.  
  19. class CDPDlg : public CWnd
  20. {
  21. protected:
  22.     DECLARE_DYNCREATE(CDPDlg)
  23. public:
  24.     CLSID const& GetClsid()
  25.     {
  26.         static CLSID const clsid
  27.             = { 0xbe5ab246, 0xf888, 0x11d0, { 0x9f, 0x5e, 0xb4, 0x21, 0x3, 0xc1, 0x7, 0x10 } };
  28.         return clsid;
  29.     }
  30.     virtual BOOL Create(LPCTSTR lpszClassName,
  31.         LPCTSTR lpszWindowName, DWORD dwStyle,
  32.         const RECT& rect,
  33.         CWnd* pParentWnd, UINT nID,
  34.         CCreateContext* pContext = NULL)
  35.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  36.  
  37.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  38.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  39.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  40.         BSTR bstrLicKey = NULL)
  41.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  42.         pPersist, bStorage, bstrLicKey); }
  43.  
  44. // Attributes
  45. public:
  46.     BOOL GetBrowseForComputer();
  47.     void SetBrowseForComputer(BOOL);
  48.     BOOL GetBrowseForPrinter();
  49.     void SetBrowseForPrinter(BOOL);
  50.     BOOL GetDontGoBelowDomain();
  51.     void SetDontGoBelowDomain(BOOL);
  52.     BOOL GetReturnFSAncestors();
  53.     void SetReturnFSAncestors(BOOL);
  54.     BOOL GetReturnOnlyFSDirs();
  55.     void SetReturnOnlyFSDirs(BOOL);
  56.     long GetRoot();
  57.     void SetRoot(long);
  58.     OLE_HANDLE GetHWnd();
  59.     void SetHWnd(OLE_HANDLE);
  60.     CPicture GetIcon();
  61.     void SetIcon(LPDISPATCH);
  62.     CString GetFolder();
  63.     void SetFolder(LPCTSTR);
  64.     CString GetPath();
  65.     void SetPath(LPCTSTR);
  66.     CString GetCaption();
  67.     void SetCaption(LPCTSTR);
  68.     CString Get_Caption();
  69.     void Set_Caption(LPCTSTR);
  70.  
  71. // Operations
  72. public:
  73.     BOOL Show();
  74.     void AboutBox();
  75. };
  76.  
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  79.  
  80. #endif // !defined(AFX_DPDLG_H__B1EE6A50_FB28_11D0_9F5E_B42103C10710__INCLUDED_)
  81.