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.

27 lines
941 B

  1. #ifndef __NEWDOMAINDLG_H
  2. #define __NEWDOMAINDLG_H
  3. #include <tmplEdit.h>
  4. class CNewDomainDlg : public CDialogImpl<CNewDomainDlg>
  5. {
  6. public:
  7. typedef CDialogImpl<CNewDomainDlg> BC;
  8. enum { IDD = IDD_NEW_DOMAIN };
  9. BEGIN_MSG_MAP( CNewDomainDlg )
  10. COMMAND_HANDLER (IDC_DOMAIN_NAME, EN_CHANGE, OnEditChange)
  11. MESSAGE_HANDLER (WM_INITDIALOG, OnInitDialog)
  12. COMMAND_RANGE_HANDLER (IDOK, IDCANCEL, OnClose)
  13. END_MSG_MAP()
  14. // message handlers
  15. LRESULT OnEditChange ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  16. LRESULT OnClose ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  17. LRESULT OnInitDialog ( UINT mMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
  18. tstring m_strName;
  19. CWindowImplDomainName<> m_wndDomainName;
  20. };
  21. #endif //__NEWDOMAINDLG_H