20 ON_BN_CLICKED( IDOK, OnBnClickedOk )
28 CSafeModeDlg::CSafeModeDlg
52 CDataExchange * aDataExchange
55 CDialog::DoDataExchange( aDataExchange );
68 CDialog::OnInitDialog();
82 GetDlgItem( IDOK )->EnableWindow(
TRUE );
84 GetDlgItem( IDOK )->EnableWindow(
FALSE );
afx_msg void OnEnChangeSafeModeSpeed()
Edit Change handler for Safe Mode Speed text box.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
afx_msg void OnBnClickedOk()
Click handler for the OK button.
codepage_type mClientCodepage
Code page used for encoding of text fields when communicating with the client.
Modal dialog allowing the user to set FMI Safe Mode and the threshold speed.
#define IDC_SAFE_MODE_SPEED
Serial communication controller for Garmin and FMI packets.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CString speed
Speed entered by the user.
BOOL OnInitDialog()
Initialize the dialog.
virtual ~CSafeModeDlg()
Destructor.
void sendFmiSafeModeSpeed(float speed)
Set FMI safe mode speed.