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.
49 lines
1.1 KiB
49 lines
1.1 KiB
#ifndef FTACTION_H
|
|
#define FTACTION_H
|
|
|
|
#include "ftdlg.h"
|
|
|
|
class CFTActionDlg : public CFTDlg
|
|
{
|
|
public:
|
|
CFTActionDlg(PROGIDACTION* pProgIDAction, LPTSTR pszProgIDDescr, BOOL fEdit);
|
|
|
|
protected:
|
|
~CFTActionDlg();
|
|
|
|
public:
|
|
void SetShowAgain();
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// Implementation
|
|
private:
|
|
// Message handlers
|
|
//Dialog messages
|
|
LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
|
|
|
|
LRESULT OnInitDialog(WPARAM wParam, LPARAM lParam);
|
|
LRESULT OnDestroy(WPARAM wParam, LPARAM lParam);
|
|
|
|
//Control specific
|
|
LRESULT OnOK(WORD wNotif);
|
|
LRESULT OnCancel(WORD wNotif);
|
|
LRESULT OnUseDDE(WORD wNotif);
|
|
LRESULT OnBrowse(WORD wNotif);
|
|
|
|
private:
|
|
// Member variables
|
|
PROGIDACTION* _pProgIDAction;
|
|
LPTSTR _pszProgIDDescr;
|
|
|
|
BOOL _fEdit;
|
|
// used when need to reshow dlg because user entered bad data
|
|
BOOL _fShowAgain;
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// Helpers
|
|
private:
|
|
// AssocStore
|
|
BOOL _Validate();
|
|
void _ResizeDlgForDDE(BOOL fShow);
|
|
};
|
|
|
|
#endif //FTACTION_H
|