Garmin Fleet Management Controller  2.19.0
CUITextChangeDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CUITextChangeDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CUITextChangeDlg_H
11 #define CUITextChangeDlg_H
12 
13 #include "FmiApplicationLayer.h"
14 
15 //----------------------------------------------------------------------
19 //----------------------------------------------------------------------
20 class CUITextChangeDlg : public CDialog
21 {
22  DECLARE_DYNAMIC( CUITextChangeDlg )
23  DECLARE_MESSAGE_MAP()
24 
25 public:
27  (
28  CWnd * aParent,
29  FmiApplicationLayer & aCom
30  );
31 
32  virtual ~CUITextChangeDlg();
33 
34 protected:
35  virtual void DoDataExchange
36  (
37  CDataExchange * aDataExchange
38  );
39 
40  BOOL OnInitDialog();
41  afx_msg void OnChange();
42  afx_msg void OnBnClickedOk();
43 
46 
48  CString mNewText;
49 
52 };
53 
54 #endif
afx_msg void OnBnClickedOk()
Click handler for the OK button.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
int mListIndex
Index of the selected user interface element.
virtual ~CUITextChangeDlg()
Destructor.
BOOL OnInitDialog()
Initialize the dialog.
Serial communication controller for Garmin and FMI packets.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CUITextChangeDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Dialog allowing the user to change certain UI text elements on the client.
CString mNewText
The new text entered by the user for the selected element.
afx_msg void OnChange()
Change handler for all controls on the dialog.