Collaboration diagram for Utility functions:
![]() |
Defines | |
#define | SCHEDULER_DEFAULT_MINUTES 15 |
#define | SYNC_DEFAULT_TOTAL_ITEMS 20 |
#define | FRAME_CONFIG_X 440 |
#define | FRAME_CONFIG_Y 382 |
#define | FRAME_MAIN_X 350 |
#define | FRAME_MAIN_Y 350 |
#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) |
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'. |
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.