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.

43 lines
735 B

  1. #ifndef _BROWSEDLG_H_
  2. #define _BROWSEDLG_H_
  3. //
  4. // Browse for servers dialog
  5. //
  6. //
  7. // Include the browse for servers listbox
  8. //
  9. #include "browsesrv.h"
  10. class CBrowseDlg
  11. {
  12. private:
  13. HWND m_hWnd;
  14. HINSTANCE m_hInst;
  15. //private methods
  16. private:
  17. TCHAR m_szServer[MAX_PATH];
  18. public:
  19. CBrowseDlg(HWND hWndOwner, HINSTANCE hInst);
  20. ~CBrowseDlg();
  21. INT_PTR DoModal();
  22. static CBrowseDlg* m_pThis;
  23. static INT_PTR APIENTRY StaticDlgProc(HWND, UINT, WPARAM, LPARAM);
  24. INT_PTR DlgProc(HWND, UINT, WPARAM, LPARAM);
  25. LPTSTR GetServer() {return m_szServer;}
  26. private:
  27. CBrowseServersCtl* _pBrowseSrvCtl;
  28. DCBOOL _bLBPopulated;
  29. HANDLE _hEvent;
  30. };
  31. #endif // _BROWSEDLG_H_