C language function:DrawIconEx sample codes

Search sample code in the internet.It is the result.


TITLE : 已知HICON,如何将其保存文件?以及ICO文件的格式 - 学彬(泪天涯)的 - CSDN博客
// Draw it at its native sizeDrawIconEx( hDC, nLeft, nTop, hIcon, 0, 0, 0, NULL, DI_NORMAL );// Draw it at the System Large sizeDrawIconEx( hDC, nLeft, nTop, hIcon, 0, 0, 0, NULL, DI_DEFAULTSIZE | DI_NORMAL );// Draw it at some other size (40x40 in this example)DrawIconEx( hDC, nLeft, nTop, hIcon, 40, 40, 0, NULL, DI_NORMAL );Note that DrawIconEx will stretch the icon as necessary to make it fit the desired output size........
http://blog.csdn.net/cometnet/article/details/4574661


TITLE : Delphi 6 ローテクTips/Windows APIメモ GetIconInfo - カルト・ドラン
DrawIconEx(.......
http://drang.s4.xrea.com/program/tips/memo/api_geticoninfo.html
TITLE : win - GoDoc
* func DrawIconEx(hdc HDC, xLeft, yTop int32, hIcon HICON, cxWidth, cyWidth int32, istepIfAniCur uint32, hbrFlickerFreeDraw HBRUSH, diFlags uint32) bool.......
http://godoc.org/github.com/lxn/win
TITLE : win - GoDoc
func DrawIconEx(hdc HDC, xLeft, yTop int32, hIcon HICON, cxWidth, cyWidth int32, istepIfAniCur uint32, hbrFlickerFreeDraw HBRUSH, diFlags uint32) bool.......
http://godoc.org/github.com/lxn/win
TITLE : DrawIconEx function (Windows)
BOOL WINAPI DrawIconEx(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/ms648065(v=vs.85).aspx
TITLE : Using the Windows API from within Axapta - Simon Butcher
Now the fun part: We need to grab the device context of the window, and use it to draw the icon on to the form. We will use the function DrawIconEx(). Note that we need to lock the device context of the window before passing it outside for the library to chew on. Add the following method to your form:.......
http://simon.butcher.name/archives/2006/12/01/Using-the-Windows-API-from-within-Axapta
TITLE : Open Source SynTaskDialog unit for XP,Vista,Seven (Page 1) / Other components / mORMot Open Source
DrawIconEx(Bmp.Canvas.Handle,0,0,Pic.Handle,Bmp.Width,Bmp.Height,0,.......
http://synopse.info/forum/viewtopic.php@id=253
TITLE : Shell Extensions: Basics, Samples, Common problems
if (DrawIconEx(hdcBuffer, 0, 0, hIcon, iconSize.cx, iconSize.cy, 0, NULL, DI_NORMAL)).......
http://www.apriorit.com/dev-blog/357-shell-extentions-basics-samples-common-problems
TITLE : Image Search Library - Page 4 - AutoIt Example Scripts - AutoIt Forums
// Use DrawIconEx() vs. DrawIcon() because someone said DrawIcon() always draws 32x32.......
http://www.autoitscript.com/forum/topic/65748-image-search-library/@page=4
TITLE : Image Search Library - Page 4 - AutoIt Example Scripts - AutoIt Forums
// color to use in place of any transparent pixels within the icon (apparently, DrawIconEx().......
http://www.autoitscript.com/forum/topic/65748-image-search-library/@page=4
TITLE : Image Search Library - Page 4 - AutoIt Example Scripts - AutoIt Forums
DrawIconEx(hdc, 0, 0, ahIcon, icon_bitmap.bmWidth, icon_bitmap.bmHeight, 0, NULL, DI_NORMAL);.......
http://www.autoitscript.com/forum/topic/65748-image-search-library/@page=4
TITLE : Bytexis Software Development | Setting the Background Image for a List Control (Add Watermark)
DrawIconEx(dst_hdc, 0, 0, hIcon,.......
http://www.bytexis.com/code-samples/listctrl-background-image/
TITLE : Simple Menus That Display Icons - Minimalistic Approach - CodeProject
::DrawIconEx(lpdis->hDC, lpdis->rcItem.left, lpdis->rcItem.top,.......
http://www.codeproject.com/Articles/16529/Simple-Menus-That-Display-Icons-Minimalistic-Appro
TITLE : Simple Menus That Display Icons - Minimalistic Approach - CodeProject
DrawIconEx(hdc, left, top, hIcon, width, height, 0, NULL, DI_NORMAL);.......
http://www.codeproject.com/Articles/16529/Simple-Menus-That-Display-Icons-Minimalistic-Appro
TITLE : Simple Menus That Display Icons - Minimalistic Approach - CodeProject
::DrawIconEx(lpdis->hDC, lpdis->rcItem.left, lpdis->rcItem.top, hIcon, mask.bmWidth, mask.bmHeight, 0, NULL, DI_NORMAL);.......
http://www.codeproject.com/Articles/16529/Simple-Menus-That-Display-Icons-Minimalistic-Appro
TITLE : [win32] - getting HBITMAP from HDC and memory ... - Software Development | DaniWeb
DrawIconEx(hdcimage,0,0,hicon,imageweight,imageheight,0,0,DI_NORMAL);//draw the icon to DC with right size.......
http://www.daniweb.com/programming/software-development/threads/490392/win32-getting-hbitmap-from-hdc-and-memory-leaks
TITLE : [win32] - getting HBITMAP from HDC and memory ... - Software Development | DaniWeb
DrawIconEx(memDC, 0, 0, hicon, Width, Height, 0, 0, DI_NORMAL);.......
http://www.daniweb.com/programming/software-development/threads/490392/win32-getting-hbitmap-from-hdc-and-memory-leaks
TITLE : [win32] - getting HBITMAP from HDC and memory ... - Software Development | DaniWeb
DrawIconEx(hdcimage,0,0,hicon,imageweight,imageheight,0,0,DI_NORMAL);//draw the icon to DC with right size.......
http://www.daniweb.com/programming/software-development/threads/490392/win32-getting-hbitmap-from-hdc-and-memory-leaks
TITLE : [win32] - getting HBITMAP from HDC and memory ... - Software Development | DaniWeb
DrawIconEx(hdcimage,0,0,hicon,imageweight,imageheight,0,0,DI_NORMAL);//draw the icon to DC with right size.......
http://www.daniweb.com/programming/software-development/threads/490392/win32-getting-hbitmap-from-hdc-and-memory-leaks
TITLE : Themed menu’s icons, a complete Vista and XP solution (updated)
::DrawIconEx(dst_hdc, 0, 0, hIcon, rect.right, rect.bottom, 0, NULL, DI_NORMAL);.......
http://www.nanoant.com/programming/themed-menus-icons-a-complete-vista-xp-solution
TITLE : Themed menu’s icons, a complete Vista and XP solution (updated)
if(DrawIconEx(hdcBuffer, 0, 0, hIcon, sizIcon.cx, sizIcon.cy, 0, NULL, DI_NORMAL)) {.......
http://www.nanoant.com/programming/themed-menus-icons-a-complete-vista-xp-solution
TITLE : pinvoke.net: drawiconex (user32)
static extern bool DrawIconEx(IntPtr hdc, int xLeft, int yTop, IntPtr hIcon,.......
http://www.pinvoke.net/default.aspx/user32.drawiconex
TITLE : Java Code Example com.sun.jna.platform.win32.WinNT
boolean ok = User32.INSTANCE.DrawIconEx(hdcMem, 0, 0, hIcon, ret.getWidth(), ret.getHeight(), new WinDef.UINT(0), new WinDef.HBRUSH(Pointer.NULL), diFlags);.......
http://www.programcreek.com/java-api-examples/index.php@api=com.sun.jna.platform.win32.WinNT
search Google

https://www.google.com/#q=DrawIconEx