CMainSyncFrame Class Reference
[User Interface]

Main window. More...

#include <MainSyncFrm.h>

Collaboration diagram for CMainSyncFrame:
[legend]

List of all members.

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 LRESULT OnMsgLockButtons (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 ()
afx_msg LRESULT OnMsgPopup (WPARAM wParam, LPARAM lParam)
afx_msg LRESULT OnOKMsg (WPARAM wParam, LPARAM lParam)

Public Attributes

CConfigFramepConfigFrame
HBITMAP hBmpDarkBlue
HBITMAP hBmpBlue
HBITMAP hBmpDark
HBITMAP hBmpLight
CStatusBar wndStatusBar
CSplitter wndSplitter
bool bSyncStarted

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
virtual BOOL OnCreateClient (LPCREATESTRUCT lpcs, CCreateContext *pContext)
afx_msg void OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu)
 Overrided to dynamically remove the 'view User Guide' button & separator.

Protected Attributes

HANDLE hSyncThread
DWORD dwThreadId
bool configOpened
int dpiX
int dpiY
int syncModeCalendar
int syncModeContacts
int syncModeTasks
int syncModeNotes
int syncModePictures
bool backupEnabledContacts
bool backupEnabledCalendar
bool backupEnabledTasks
bool backupEnabledNotes
bool backupEnabledPictures
int currentSource
int totalItems
int currentItem
CFont fontBold

Private Attributes

int contactsBegin
int calendarBegin
int tasksBegin
int notesBegin
int picturesBegin


Detailed Description

Main window.

Contains:

TODO: refactoring: use arrays of ssources


Member Function Documentation

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.

References CSyncForm::iconStatusSync, manageSyncErrorMsg(), CSyncForm::paneSync, CSyncForm::refreshSources(), CSyncForm::syncSourceCalendarState, CSyncForm::syncSourceContactState, CSyncForm::syncSourceNoteState, CSyncForm::syncSourcePictureState, CSyncForm::syncSourceTaskState, and CSyncForm::unlockButtons().


The documentation for this class was generated from the following files:

Generated on Tue Apr 6 13:00:41 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1