Defines | |
#define | SYNC_DEFAULT_TOTAL_ITEMS 20 |
#define | FRAME_CONFIG_X 440 |
#define | FRAME_CONFIG_Y 420 |
#define | FRAME_MAIN_X 350 |
#define | FRAME_MAIN_Y 345 |
#define | SOURCE_PANE_SIZE_Y 45 |
#define | MAIN_PROGRESSBAR_COLOR RGB(255,255,255) |
#define | EDIT_TEXT_MAXLENGTH 255 |
#define | EDIT_TEXT_SCHEDULER_MAXLENGTH 6 |
#define | SYNCTYPE_NONE "none" |
#define | LAST_SYNC_TIME_FORMAT TEXT("%A, %#I:%M%p") |
Functions | |
int | getSyncTypeIndex (const char *syncType) |
const char * | getSyncTypeName (int index) |
const char * | getFullSyncTypeName (int index) |
int | getSyncModeCode (const char *syncMode) |
int | getDateFilterIndex (const DateFilter::RelativeLowerDate value) |
DateFilter::RelativeLowerDate | getDateFilterValue (const int index) |
void | manageSyncErrorMsg (long code) |
Error messages prompted to the user are managed only inside this function. | |
CPoint | getRelativePosition (CWnd *wnd, CWnd *parentWnd) |
Utility to retrieve the relative position of 'wnd' window respect to 'parentWnd'. | |
CPoint | getMainWindowSize () |
Checks the sources visible (array in config) to return dynamically the size of the mains screen dialog. | |
wstring | formatDate (Funambol::StringBuffer &date) |
void manageSyncErrorMsg | ( | long | code | ) |
Error messages prompted to the user are managed only inside this function.
A message box will be displayed, based on the error code passed.
References wsafeMessageBox().
Referenced by CMainSyncFrame::OnMsgStartsyncEnded().