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.

48 lines
1.1 KiB

  1. #ifndef FTACTION_H
  2. #define FTACTION_H
  3. #include "ftdlg.h"
  4. class CFTActionDlg : public CFTDlg
  5. {
  6. public:
  7. CFTActionDlg(PROGIDACTION* pProgIDAction, LPTSTR pszProgIDDescr, BOOL fEdit);
  8. protected:
  9. ~CFTActionDlg();
  10. public:
  11. void SetShowAgain();
  12. ///////////////////////////////////////////////////////////////////////////////
  13. // Implementation
  14. private:
  15. // Message handlers
  16. //Dialog messages
  17. LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
  18. LRESULT OnInitDialog(WPARAM wParam, LPARAM lParam);
  19. LRESULT OnDestroy(WPARAM wParam, LPARAM lParam);
  20. //Control specific
  21. LRESULT OnOK(WORD wNotif);
  22. LRESULT OnCancel(WORD wNotif);
  23. LRESULT OnUseDDE(WORD wNotif);
  24. LRESULT OnBrowse(WORD wNotif);
  25. private:
  26. // Member variables
  27. PROGIDACTION* _pProgIDAction;
  28. LPTSTR _pszProgIDDescr;
  29. BOOL _fEdit;
  30. // used when need to reshow dlg because user entered bad data
  31. BOOL _fShowAgain;
  32. ///////////////////////////////////////////////////////////////////////////////
  33. // Helpers
  34. private:
  35. // AssocStore
  36. BOOL _Validate();
  37. void _ResizeDlgForDDE(BOOL fShow);
  38. };
  39. #endif //FTACTION_H