From: <dan...@us...> - 2006-11-26 16:57:36
|
Revision: 824 http://svn.sourceforge.net/cegcc/?rev=824&view=rev Author: dannybackx Date: 2006-11-26 08:57:35 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Define SHRGINFO and SHRecognizeGesture as described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrginfo.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrecognizegesture.asp They're needed for the Boling book's DOIView example. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-25 08:02:38 UTC (rev 823) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-26 16:57:35 UTC (rev 824) @@ -1,3 +1,7 @@ +2006-11-26 Danny Backx <dan...@us...> + + * include/aygshell.h (SHRGINFO, SHRecognizeGesture) : Define. + 2006-11-22 Danny Backx <dan...@us...> * include/commdlg.h (CHOOSECOLOR) : Fix type of hInstance field as Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2006-11-25 08:02:38 UTC (rev 823) +++ trunk/cegcc/src/w32api/include/aygshell.h 2006-11-26 16:57:35 UTC (rev 824) @@ -159,6 +159,25 @@ */ #define WC_SIPPREF L"SIPPREF" +/* + * Stuff for SHRecognizeGesture + * + * See + * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrginfo.asp + * and + * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrecognizegesture.asp + */ +#if (_WIN32_WCE >= 0x0420) +typedef struct tagSHRGI { + DWORD cbSize; + HWND hwndClient; + POINT ptDown; + DWORD dwFlags; +} SHRGINFO, *PSHRGINFO; + +WINSHELLAPI DWORD SHRecognizeGesture(SHRGINFO *shrg); +#endif + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |