MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / CMultiStringValueDlg

Class CMultiStringValueDlg

WinArk/MultiStringValueDlg.h:4–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "RegistryKey.h"
3
4class CMultiStringValueDlg :
5 public CDialogImpl<CMultiStringValueDlg>,
6 public CWinDataExchange<CMultiStringValueDlg> {
7public:
8 enum { IDD = IDD_MULTISTRING };
9
10 CMultiStringValueDlg(RegistryKey& key, PCWSTR name, bool readOnly);
11
12 const CString& GetValue() const;
13 bool IsModified() const;
14
15 BEGIN_MSG_MAP(CMultiStringValueDlg)
16 MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
17 COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
18 COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
19 END_MSG_MAP()
20
21private:
22 LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
23 LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
24
25 RegistryKey& m_Key;
26 CString m_Value, m_Name;
27 bool m_ReadOnly;
28 bool m_Modified{ false };
29};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected