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.

35 lines
1.1 KiB

  1. #ifndef __NEWUSERCONFIRMDLG_H
  2. #define __NEWUSERCONFIRMDLG_H
  3. class CNewUserConfirmDlg : public CDialogImpl<CNewUserConfirmDlg>
  4. {
  5. public:
  6. typedef CDialogImpl<CNewUserConfirmDlg> BC;
  7. CNewUserConfirmDlg( LPWSTR psDesc, bool bHideDoNotShow ) :
  8. m_psDesc(psDesc), m_bHideDoNotShow(bHideDoNotShow)
  9. {;}
  10. enum { IDD = IDD_NEW_USER_CONFIRM };
  11. BEGIN_MSG_MAP( CNewUserConfirmDlg )
  12. COMMAND_ID_HANDLER (IDOK, OnOK)
  13. COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
  14. MESSAGE_HANDLER (WM_INITDIALOG, OnInitDialog)
  15. END_MSG_MAP()
  16. // message handlers
  17. LRESULT OnCancel ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  18. LRESULT OnInitDialog ( UINT mMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
  19. LRESULT OnOK ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  20. BOOL isHideDoNotShow(){ return m_bHideDoNotShow; }
  21. // Attributes
  22. protected:
  23. LPWSTR m_psDesc;
  24. bool m_bHideDoNotShow;
  25. };
  26. #endif //__NEWUSERCONFIRMDLG_H