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.

24 lines
896 B

  1. #ifndef __CONNSERVERDLG_H
  2. #define __CONNSERVERDLG_H
  3. class CConnectServerDlg : public CDialogImpl<CConnectServerDlg>
  4. {
  5. public:
  6. typedef CDialogImpl<CConnectServerDlg> BC;
  7. enum { IDD = IDD_CONNECT_SERVER };
  8. BEGIN_MSG_MAP( CConnectServerDlg )
  9. COMMAND_HANDLER ( IDC_SERVERNAME, EN_CHANGE, OnEditChange )
  10. COMMAND_HANDLER ( IDC_BROWSE_SERVERS, BN_CLICKED, OnBrowse )
  11. COMMAND_RANGE_HANDLER ( IDOK, IDCANCEL, OnClose )
  12. END_MSG_MAP()
  13. // message handlers
  14. LRESULT OnEditChange ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  15. LRESULT OnBrowse ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  16. LRESULT OnClose ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  17. tstring m_strName;
  18. };
  19. #endif //__CONNSERVERDLG_H