|
|
|
|
File: [OW2-CVS] / sync4j / funambol / clients / outlook / UI / src / SyncForm.h
(download)
Revision: 1.1.1.1.2.2, Mon Jan 15 07:58:34 2007 UTC (6 years, 5 months ago) by rvultursv Branch: e_6_0_1_newUI Changes since 1.1.1.1.2.1: +1 -0 lines added font used in main window |
/*
* Copyright (C) 2003-2006 Funambol
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "afxwin.h"
#include "afxcmn.h"
#include "animatedicon.h"
#if !defined(AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_)
#define AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSyncForm form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "CustomGroupbox.h"
#include "CustomLabel.h"
class CSyncForm : public CFormView
{
protected:
CSyncForm(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CSyncForm)
public:
//{{AFX_DATA(CSyncForm)
enum { IDD = IDD_SYNC_FORM };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSyncForm)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
virtual ~CSyncForm();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CSyncForm)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CFont fontBold;
CBrush brush;
CButton butStart;
CAnimatedIcon iconContacts;
CAnimatedIcon iconCalendar;
CAnimatedIcon iconTasks;
CAnimatedIcon iconNotes;
CCustomGroupbox groupSync;
CButton groupSources;
CCustomLabel linkCalendar;
CCustomLabel linkContacts;
CCustomLabel linkNotes;
CCustomLabel linkTasks;
void refreshSources();
void showSyncControls(BOOL show);
void resetSyncControls();
void changeContactsStatus(CString status);
void changeCalendarStatus(CString status);
void changeTasksStatus(CString status);
void changeNotesStatus(CString status);
afx_msg LRESULT OnInitForm(WPARAM, LPARAM);
afx_msg void OnBnClickedMainButSync();
afx_msg void OnNcPaint( );
afx_msg void OnBnClickedMainButStart();
afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void OnDraw(CDC* pDC);
afx_msg void OnStnClickedMainLinkCalendar();
afx_msg void OnStnClickedMainLinkContacts();
afx_msg void OnStnClickedMainLinkNotes();
afx_msg void OnStnClickedMainLinkTasks();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message );
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FORM1_H__FA98B71B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_)
| webmaster@ow2.org |
Powered by ViewCVS 0.9.4 |
Back to OW2 Forge