10 #ifndef CCommErrorDlg_H 11 #define CCommErrorDlg_H 30 TCHAR * aErrorMessage,
44 CDataExchange * aDataExchange
51 static BOOL CALLBACK
OnCloseHelper(HWND hWndParent, LPARAM lParam);
afx_msg void OnBnClickedRetry()
Click handler for the Retry button.
afx_msg void OnBnClickedChangeCom()
Click handler for the Change Port button.
void OnCancel()
Cancel action handler.
virtual ~CCommErrorDlg()
Destructor.
CCommErrorDlg(TCHAR *aErrorMessage, BOOL aCommPortDown, CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
void PostNcDestroy()
Called by MFC after the window has been destroyed; performs final termination activities.
CString mMessageText
The message to display to the user.
static BOOL CALLBACK OnCloseHelper(HWND hWndParent, LPARAM lParam)
Helper for EnumThreadWindows call.
BOOL OnInitDialog()
Initialize the dialog.
BOOL mComPortDown
If TRUE, communication is down and the serial port will need to be reinitialized to continue...
Serial communication controller for Garmin and FMI packets.
Modal dialog displaying a communication error.
afx_msg void OnBnClickedExit()
Click handler for the Exit button.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
FmiApplicationLayer & mCom
The FMI communication controller.