19 ON_BN_CLICKED( IDOK, OnBnClickedOk )
27 CUITextChangeDlg::CUITextChangeDlg
52 CDataExchange * aDataExchange
55 CDialog::DoDataExchange( aDataExchange );
69 CDialog::OnInitDialog();
80 BOOL formValid =
TRUE;
89 GetDlgItem( IDOK )->EnableWindow(
TRUE );
91 GetDlgItem( IDOK )->EnableWindow(
FALSE );
#define IDC_UITEXT_CBO_ITEM
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.
codepage_type mClientCodepage
Code page used for encoding of text fields when communicating with the client.
void sendUserInterfaceText(uint32 aElementId, char *aText)
Request that the text of a particular user interface text element be changed.
Serial communication controller for Garmin and FMI packets.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
Dialog allowing the user to change certain UI text elements on the client.
#define IDD_UI_TEXT_CHANGE
#define IDC_UITEXT_EDIT_NEWTEXT
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.