#include <MainSyncFrm.h>
Collaboration diagram for CMainSyncFrame:
Public Member Functions | |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
void | backupSyncModeSettings () |
void | restoreSyncModeSettings () |
void | showSettingsWindow (const int paneToDisplay=1) |
bool | checkConnectionSettings () |
int | getDpiX () |
int | getDpiY () |
void | OnConfigClosed () |
void | StartSync () |
int | CancelSync () |
afx_msg LRESULT | OnMsgSyncBegin (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgSyncEnd (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgSyncSourceBegin (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgSyncSourceEnd (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgItemSynced (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgTotalItems (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgStartSyncBegin (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgStartsyncEnded (WPARAM, LPARAM) |
Message received when sync thread has exited. | |
afx_msg LRESULT | OnMsgRefreshStatusBar (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgSyncSourceState (WPARAM, LPARAM) |
afx_msg LRESULT | OnMsgUnlockButtons (WPARAM, LPARAM) |
Used to re-enable UI buttons (called after 'continueAfterPrepareSync()' method). | |
afx_msg void | OnFileConfiguration () |
afx_msg void | OnToolsFullSync () |
afx_msg void | OnFileSynchronize () |
afx_msg int | OnCancelSync () |
afx_msg void | OnToolsSetloglevel () |
afx_msg BOOL | OnNcActivate (BOOL bActive) |
afx_msg void | OnClose () |
Public Attributes | |
CConfigFrame * | pConfigFrame |
HBITMAP | hBmpDarkBlue |
HBITMAP | hBmpBlue |
HBITMAP | hBmpDark |
HBITMAP | hBmpLight |
CStatusBar | wndStatusBar |
CSplitter | wndSplitter |
bool | bSyncStarted |
Protected Member Functions | |
virtual BOOL | OnCreateClient (LPCREATESTRUCT lpcs, CCreateContext *pContext) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
Protected Attributes | |
HANDLE | hSyncThread |
DWORD | dwThreadId |
bool | configOpened |
int | dpiX |
int | dpiY |
int | syncModeCalendar |
int | syncModeContacts |
int | syncModeTasks |
int | syncModeNotes |
int | currentSource |
int | totalItems |
int | currentItem |
CFont | fontBold |
Private Attributes | |
int | contactsBegin |
int | calendarBegin |
int | tasksBegin |
int | notesBegin |
Contains:
LRESULT CMainSyncFrame::OnMsgStartsyncEnded | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) |
Message received when sync thread has exited.
'lParam' is the exitThread code (0 if no errors). Here errors of sync process are managed, and then UI refreshed.