[r5083]: tags / V3_12 / EditShortcutDlg.h Maximize Restore History

Download this file

EditShortcutDlg.h    62 lines (49 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* Copyright (c) 2003-2008 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
// EditShortcutDlg.h
//-----------------------------------------------------------------------------
#pragma once
#include "PWDialog.h"
#include "ControlExtns.h"
#include "corelib/ItemData.h"
class CItemData;
class CEditShortcutDlg : public CPWDialog
{
public:
// default constructor
CEditShortcutDlg(CItemData *ci, CWnd* pParent = NULL,
const CMyString &cs_tg = _T(""), const CMyString &cs_tt = _T(""),
const CMyString &cs_tu = _T(""));
virtual ~CEditShortcutDlg();
enum { IDD = IDD_EDIT_SHORTCUT };
CMyString m_defusername, m_username;
bool m_Edit_IsReadOnly;
private:
CItemData *m_ci; // The shortcut being edited
CMyString m_group;
CMyString m_title;
// target's group, title, user
CMyString m_tg, m_tt, m_tu;
CMyString m_locCTime, m_locPMTime, m_locATime, m_locRMTime;
bool m_bIsModified;
CComboBoxExtn m_ex_group;
CEditExtn m_ex_title;
CEditExtn m_ex_username;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnHelp();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
};
//-----------------------------------------------------------------------------
// Local variables:
// mode: c++
// End: