D:/develop/v65/clients/outlook/install/output/export/funambol/clients/outlook/UI/src/CustomPane.h

00001  /*
00002  * Copyright (C) 2007 Funambol, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 2 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
00011  * PURPOSE.  See the GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program; if not, write to the Free Software
00015  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00016  * 02111-1307  USA
00017 */
00018 
00019 #pragma once
00020 
00026 enum PANE_STATE {STATE_NORMAL, STATE_SYNC, STATE_PANE_DISABLED, STATE_PANE_HIDDEN};
00027 enum PANE_TYPE {PANE_TYPE_SYNC, PANE_TYPE_CONTACTS, PANE_TYPE_CALENDAR, PANE_TYPE_TASKS, PANE_TYPE_NOTES};
00028 
00032 class CCustomPane : public CStatic
00033 {
00034         DECLARE_DYNAMIC(CCustomPane)
00035 
00036 public:
00037     bool bMouseCaptured;
00038     bool bSourcePane;
00039     int state;
00040     int type;
00041     HICON hPrevStatusIcon;
00042         CCustomPane();   
00043         virtual ~CCustomPane();
00044 
00045 
00046 protected:
00047         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00048 
00049         DECLARE_MESSAGE_MAP()
00050     afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00051     afx_msg LRESULT OnMouseLeave(WPARAM, LPARAM);
00052     afx_msg void OnPaint( );
00053 };
00054 

Generated on Fri Nov 9 12:21:26 2007 for Funambol Outlook Plug-in Library by  doxygen 1.5.2