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.
76 lines
1.2 KiB
76 lines
1.2 KiB
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// Id changes dialog
|
|
//
|
|
// 3-10-98 sburns
|
|
|
|
|
|
|
|
#ifndef IDDLG_HPP_INCLUDED
|
|
#define IDDLG_HPP_INCLUDED
|
|
|
|
|
|
|
|
class IDChangesDialog : public Dialog
|
|
{
|
|
public:
|
|
|
|
IDChangesDialog(bool isPersonal);
|
|
|
|
virtual ~IDChangesDialog();
|
|
|
|
// enum ExecuteResult
|
|
// {
|
|
// NO_CHANGES,
|
|
// CHANGES_MADE
|
|
// };
|
|
//
|
|
// // hides Dialog::ModalExecute
|
|
//
|
|
// ExecuteResult
|
|
// ModalExecute(HWND parent);
|
|
|
|
protected:
|
|
|
|
// Dialog overrides
|
|
|
|
virtual
|
|
bool
|
|
OnCommand(
|
|
HWND windowFrom,
|
|
unsigned controlIDFrom,
|
|
unsigned code);
|
|
|
|
virtual
|
|
void
|
|
OnInit();
|
|
|
|
private:
|
|
|
|
// enum OkButtonResult
|
|
// {
|
|
// VALIDATION_FAILED,
|
|
// CHANGES_SAVED,
|
|
// SAVE_FAILED
|
|
// };
|
|
|
|
// OkButtonResult
|
|
bool
|
|
OnOkButton();
|
|
|
|
void enable(HWND hwnd);
|
|
|
|
// no copying allowed
|
|
IDChangesDialog(const IDChangesDialog&);
|
|
const IDChangesDialog& operator=(const IDChangesDialog&);
|
|
|
|
bool isInitializing;
|
|
bool fIsPersonal;
|
|
};
|
|
|
|
|
|
void
|
|
showAndEnableWindow(HWND parent, int resID, int show);
|
|
|
|
|
|
#endif // IDDLG_HPP_INCLUDED
|