|
version 1.14, 2007/03/30 13:51:21
|
version 1.15, 2007/04/06 13:25:30
|
|
|
|
| DECLARE_MESSAGE_MAP() | DECLARE_MESSAGE_MAP() |
| | |
| private: | private: |
| |
// true if the UI buttons are locked |
| bool lockedUI; | bool lockedUI; |
| | |
| |
// Buffers for source panes status labels |
| |
CString contactsStatusLabel; |
| |
CString calendarStatusLabel; |
| |
CString tasksStatusLabel; |
| |
CString notesStatusLabel; |
| |
|
| |
// Buffers for source panel titles (fixed) |
| |
CString contactsLabel; |
| |
CString calendarLabel; |
| |
CString tasksLabel; |
| |
CString notesLabel; |
| |
|
| public: | public: |
| CFont fontBold; | CFont fontBold; |
| CFont fontNormal; | CFont fontNormal; |
|
|
|
| int syncSourceContactState, syncSourceCalendarState; | int syncSourceContactState, syncSourceCalendarState; |
| int syncSourceTaskState, syncSourceNoteState; | int syncSourceTaskState, syncSourceNoteState; |
| | |
| // Used to avoid repainting the source labels during sync... |
|
| // Consider it a trick - temporary patch until I understand why labels are repainted |
|
| // when calling CAnimatedIcon::OnTimer() > SetIcon... |
|
| bool keepSourceLabels; |
|
| |
|
| | |
| /** | /** |
| * refresh UI info about a source | * refresh UI info about a source |
|
|
|
| void unlockButtons(); | void unlockButtons(); |
| | |
| // change UI status text for a source | // change UI status text for a source |
| void changeContactsStatus(CString status); |
void changeContactsStatus(CString& status); |
| void changeCalendarStatus(CString status); |
void changeCalendarStatus(CString& status); |
| void changeTasksStatus(CString status); |
void changeTasksStatus (CString& status); |
| void changeNotesStatus(CString status); |
void changeNotesStatus (CString& status); |
| | |
| afx_msg LRESULT OnInitForm(WPARAM, LPARAM); | afx_msg LRESULT OnInitForm(WPARAM, LPARAM); |
| afx_msg void OnBnClickedMainButSync(); | afx_msg void OnBnClickedMainButSync(); |