Click to open or copy the files for the IconPro sample.
This sample is designed to manipulate icons having images with bit depths from 1bpp to 32bpp, as well as sizes from 16x16 to 128x128.
IconPro provides no editing capabilities. To create an icon, the user must first edit the image in DIB format, using a program like PBRUSH. Then the image can be imported into IconPro without loss of bit depth.
IconPro restricts the size of its child windows, so MDI tiling might look different than expected.
When extracting icons from DLL and EXE files, IconPro will operate only on 32 bit files.
This sample uses the following keywords:
aboutdlgproc; addformatdlgproc; adjusticonimagepointers; beginpaint; bitblt; bytesperline; calculateimageoffset; checkdlgbutton; chooseiconfromexefile; closeclipboard; closehandle; convertdibformat; copycolortable; createblanknewformaticon; createchildlistbox; createchildren; createcompatibledc; createdibsection; createfile; createhalftonepalette; createiconfromresource; createiconfromresourceex; createmdiwindow; createnewmdichildwindow; createpen; createsolidbrush; createwindow; defframeproc; defmdichildproc; deletedc; deleteobject; destroyicon; destroywindow; dialogbox; dialogboxparam; dibnumcolors; dibtoiconimage; dispatchmessage; draw3drect; drawandmask; drawicon; drawiconex; drawxormask; emptyclipboard; enablemenuitem; enddialog; endpaint; enumresourcenames; erasebackground; extractdlgproc; fillrect; finddibbits; findresource; free; freelibrary; gdiflush; getclientrect; getclipboarddata; getdc; getdlgitem; getfiletitle; geticonfrominstance; geticoninfo; getmenu; getmessage; getobject; getopenfilename; getopeniconfilename; getpaletteentries; getpixel; getsavefilename; getsaveiconfilename; getstockobject; getsubmenu; getsyscolor; gettextextentpoint32; getwindow; getwindowlong; getwindowrect; getwindowtext; getxorimagerect; globalalloc; globallock; globalunlock; iconchildwndproc; iconimagefrombmpfile; iconimagefromclipboard; iconimagetobmpfile; iconimagetoclipboard; initapplication; initinstance; invalidaterect; isclipboardformatavailable; isdlgbuttonchecked; lineto; loadcursor; loadicon; loadlibraryex; loadresource; loadstring; lockresource; lookupiconidfromdirectory; lstrcpy; lstrlen; makeiconfromresource; makeintresource; makelong; makenewandmaskbasedonpoint; makepoints; malloc; memcpy; memset; messagebox; movetoex; myenumprocedure; oncommand; openclipboard; pack; palettesize; postmessage; postquitmessage; ptinrect; querycloseallchildren; readbmpfile; readfile; readicoheader; readiconfromexefile; readiconfromicofile; realloc; rectangle; rectheight; rectwidth; registerclass; releasedc; rgb; screentoclient; selectobject; senddlgitemmessage; sendmessage; setbkmode; setclipboarddata; setcursor; setdibcolortable; setdibitstodevice; setdlgitemtext; setfilepointer; setmonodibpixel; setpixelv; setrect; setstretchbltmode; settextcolor; setwindowlong; setwindowtext; showwindow; sizeofresource; strdup; stretchblt; switch; text; textout; translatemdisysaccel; translatemessage; updatemenustate; updatewindow; widthbytes; winhelp; winmain; wndproc; writebmpfile; writefile; writeicoheader; writeicontoicofile; wsprintf; zeromemory