Scope
|
#include <PresetNameDlg.h>
Inherits CDialogImpl< CPresetNameDlg >.
Public Types | |
enum | { IDD = IDD_PRESETNAME_DIALOG } |
Public Member Functions | |
CPresetNameDlg (std::shared_ptr< std::wstring > _name) | |
Called via Win32 messages | |
LRESULT | OnInitDialog (UINT, WPARAM, LPARAM, BOOL &) |
LRESULT | OnCloseCmd (WORD, WORD wID, HWND, BOOL &) |
Protected Attributes | |
CEdit | edit |
std::shared_ptr< std::wstring > const | name |
Simple dialog for naming a preset.
Definition at line 8 of file PresetNameDlg.h.
scope::gui::CPresetNameDlg::CPresetNameDlg | ( | std::shared_ptr< std::wstring > | _name | ) |
Get a reference to a CString to write the name into.
Definition at line 8 of file PresetNameDlg.cpp.
LRESULT scope::gui::CPresetNameDlg::OnInitDialog | ( | UINT | , |
WPARAM | , | ||
LPARAM | lParam, | ||
BOOL & | |||
) |
Initializes the dialog.
Definition at line 12 of file PresetNameDlg.cpp.
LRESULT scope::gui::CPresetNameDlg::OnCloseCmd | ( | WORD | , |
WORD | wID, | ||
HWND | , | ||
BOOL & | |||
) |
Definition at line 21 of file PresetNameDlg.cpp.
|
protected |
the name edit control
Definition at line 13 of file PresetNameDlg.h.
|
protected |
pointer to a string to write the name into
Definition at line 16 of file PresetNameDlg.h.