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.

41 lines
994 B

  1. /****************************************************************************\
  2. *
  3. * toffdlg.h
  4. *
  5. * Created: William Taylor (wtaylor) 01/22/01
  6. *
  7. * MS Ratings Turn Off Ratings Dialog
  8. *
  9. \****************************************************************************/
  10. #ifndef TURN_OFF_DIALOG_H
  11. #define TURN_OFF_DIALOG_H
  12. #include "basedlg.h" // CBaseDialog
  13. class CTurnOffDialog: public CBaseDialog<CTurnOffDialog>
  14. {
  15. public:
  16. enum { IDD = IDD_TURNOFF };
  17. public:
  18. CTurnOffDialog();
  19. public:
  20. typedef CTurnOffDialog thisClass;
  21. typedef CBaseDialog<thisClass> baseClass;
  22. BEGIN_MSG_MAP(thisClass)
  23. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  24. COMMAND_ID_HANDLER(IDOK, OnOK)
  25. CHAIN_MSG_MAP(baseClass)
  26. END_MSG_MAP()
  27. protected:
  28. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  29. LRESULT OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  30. };
  31. #endif