2 #include "../resource.h"
9 :
public CDialogImpl<CPresetNameDlg> {
16 std::shared_ptr<std::wstring>
const name;
19 enum { IDD = IDD_PRESETNAME_DIALOG };
36 LRESULT
OnCloseCmd(WORD , WORD wID, HWND , BOOL& );
Simple dialog for naming a preset.
CPresetNameDlg(std::shared_ptr< std::wstring > _name)
Get a reference to a CString to write the name into.
LRESULT OnCloseCmd(WORD, WORD wID, HWND, BOOL &)
CEdit edit
the name edit control
std::shared_ptr< std::wstring > const name
pointer to a string to write the name into
LRESULT OnInitDialog(UINT, WPARAM, LPARAM, BOOL &)
Initializes the dialog.