poommaster.h

来自「使用poom api新建或获得ppc上的PIM data」· C头文件 代码 · 共 45 行

H
45
字号

#if !defined(AFX_POOMMASTER_H__6FF2A2E6_F8C1_478E_A5FA_DEC0CEE72870__INCLUDED_)
#define AFX_POOMMASTER_H__6FF2A2E6_F8C1_478E_A5FA_DEC0CEE72870__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <pimstore.h>

#include <windows.h>
#include <aygshell.h>
#include "resource.h"


//interface IFolder;

#define MENU_HEIGHT 26

enum eDisplayMode {EDM_TASKS, EDM_CONTACTS, EDM_CALENDAR};

BOOL InitPoom(HWND hwnd);
void ShutdownPoom();
BOOL GetPoomFolder(int nFolder, IFolder ** ppFolder);
BOOL PopulateList(int nFolder);
BOOL GetPoomApp(IPOutlookApp **ppOutApp);
BOOL AddTaskFolderText(IPOutlookItemCollection * pItemCol);
BOOL AddContactsFolderText(IPOutlookItemCollection * pItemCol);
BOOL AddCalendarFolderText(IPOutlookItemCollection * pItemCol);
void AddToList(TCHAR * tszTxt);
int GetTaskPriority(int nIndex);
BOOL TaskIsComplete(int nIndex);

void GetCtrlBstr(HWND hDlg, int nCtrlId, BSTR * pbstrTxt);


BOOL InitNewItemDlg(HWND hDlg);

LRESULT CALLBACK	NewContactProc			(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK	NewTaskProc			(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK	NewAppntmntProc			(HWND, UINT, WPARAM, LPARAM);



#endif // !defined(AFX_POOMMASTER_H__6FF2A2E6_F8C1_478E_A5FA_DEC0CEE72870__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?