Hi all,
I'm committing a change to DrawIcon, implementing it as explained here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/wcesdkrDrawIcon.asp
"The *DrawIcon* function is implemented as a macro, defined as
*DrawIconEx(*/hdc/, /x/, /y/, /hicon/, 0, 0, 0, NULL, DI_NORMAL*)*."
Cheers,
Pedro Alves
---
src/w32api/ChangeLog.ce:
2006-11-12 Pedro Alves <[EMAIL PROTECTED]>
* include/winuser.h (DrawIcon): Implement in terms of DrawIconEx.
Index: winuser.h
===================================================================
--- winuser.h (revision 796)
+++ winuser.h (working copy)
@@ -3505,7 +3505,11 @@
WINUSERAPI BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT);
WINUSERAPI BOOL WINAPI DrawFocusRect(HDC,LPCRECT);
WINUSERAPI BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT);
+#ifndef _WIN32_WCE
WINUSERAPI BOOL WINAPI DrawIcon(HDC,int,int,HICON);
+#else
+#define DrawIcon(hdc,x,y,hicon) DrawIconEx(hdc,x,y,hicon,0,0,0,NULL,DI_NORMAL)
+#endif
WINUSERAPI BOOL WINAPI DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT);
WINUSERAPI BOOL WINAPI DrawMenuBar(HWND);
WINUSERAPI BOOL WINAPI
DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel