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.
42 lines
729 B
42 lines
729 B
#ifndef _BROWSEDLG_H_
|
|
#define _BROWSEDLG_H_
|
|
|
|
//
|
|
// Browse for servers dialog
|
|
//
|
|
|
|
//
|
|
// Include the browse for servers listbox
|
|
//
|
|
#include "browsesrv.h"
|
|
|
|
class CBrowseDlg
|
|
{
|
|
private:
|
|
HWND m_hWnd;
|
|
HINSTANCE m_hInst;
|
|
|
|
//private methods
|
|
private:
|
|
TCHAR m_szServer[MAX_PATH];
|
|
|
|
public:
|
|
CBrowseDlg(HWND hWndOwner, HINSTANCE hInst);
|
|
~CBrowseDlg();
|
|
int DoModal();
|
|
|
|
static CBrowseDlg* m_pThis;
|
|
|
|
static INT_PTR APIENTRY StaticDlgProc(HWND, UINT, WPARAM, LPARAM);
|
|
INT_PTR DlgProc(HWND, UINT, WPARAM, LPARAM);
|
|
|
|
LPTSTR GetServer() {return m_szServer;}
|
|
|
|
private:
|
|
CBrowseServersCtl* _pBrowseSrvCtl;
|
|
|
|
DCBOOL _bLBPopulated;
|
|
HANDLE _hEvent;
|
|
};
|
|
|
|
#endif // _BROWSEDLG_H_
|