ImagEdit: Image Editor

Click to open or copy the files for the ImagEdit sample.

The ImagEdit tool allows you to graphically create small bitmaps and icons. It demonstrates a variety of useful user interface techniques. It also serves as a reference for understanding the binary formats of bitmaps and icons.

Building SDK Samples

This sample uses the following keywords:

_lclose; _lread; _lwrite; _open_osfhandle; aboutdlgproc; addfilterstring; adjustwindowrect; ansinext; ansiprev; atoi; atol; beginpaint; bitblt; bitmapsizedlgproc; brushdp; centerwindow; charnext; checkdlgbutton; checkmenuitem; checkradiobutton; choosecolor; circledp; circledpdraw; cleanup; clearresource; clienttoscreen; closeclipboard; colorboxclicked; colorboxhittest; colorboxpaint; colorboxwndproc; colordlgproc; coloredit; colorinit; colorlrdrawsamples; colorlrpaint; colorlrupdate; colorlrwndproc; colorprocesscommand; colorshow; computeinversecolor; copyimageclip; createbitmap; createcompatiblebitmap; createcompatibledc; createdialog; createdibitmap; createpatternbrush; createpen; createsolidbrush; createwindow; dbgbltimage; dbgprintf; dbgstackreport; defextfromfilter; defhookproc; defined; defwindowproc; deletedc; deleteobject; deltagen; deltageninit; destroywindow; devicelinkalloc; devicelinkfind; devicelinkused; dialogbox; dispatchmessage; dlgbox; drawcolorrect; drawmarginborder; drawpoint; drawsunkenrect; drawtopoint; ellipse; emptyclipboard; enablemenuitem; enablewindow; enddialog; endpaint; endrubberbanding; enteringdialog; extfloodfill; far2near; filecat; fileinpath; findclose; findfirstfile; fitrecttoscreen; flooddp; freeprocinstance; fstat; get_wm_activate_state; get_wm_command_cmd; get_wm_command_id; get_wm_ctlcolor_hdc; get_wm_ctlcolor_type; get_wm_menuselect_cmd; get_wm_menuselect_flags; getbitmapbits; getclientrect; getclipboarddata; getdc; getdesktopwindow; getdibits; getdlgitem; getdlgitemint; getfocus; gethelpcontext; getkeystate; getmenu; getmessage; getmodulefilename; getnearestcolor; getobject; getopenfilename; getopenfilenamehook; getpixel; getprivateprofileint; getprivateprofilestring; getprocaddress; getsavefilename; getstockobject; getsyscolor; getsystemmenu; getsystemmetrics; gettypefromext; getwindow; getwindowlong; getwindowrect; globalalloc; globalfree; globallock; globalunlock; hotspotdp; ids; imageallocundo; imagedcclear; imagedccombine; imagedccreate; imagedcdelete; imagedcmonoblt; imagedcseparate; imagedelete; imagefreeundo; imagelinkalloc; imagelinkfree; imagelinkfreelist; imagenew; imagenewbitmap; imagenewdialog; imageopen; imageopen2; imagesave; imageselectdialog; imageundo; imageupdateundo; initapplication; initdevicelist; initinstance; initmenu; invalidaterect; ischild; isclipboardformatavailable; isdbcsleadbyte; isdlgbuttonchecked; isiconic; isvaliddib; iswindowvisible; iszoomed; itoa; linedp; lineto; loadaccelerators; loadbitmap; loadbitmapfile; loadcolorfile; loadcursor; loadfile; loadicon; loadiconcursorfile; loadstring; localalloc; localfree; localrealloc; lstrcat; ltoa; mainwndproc; makeintresource; makeprocinstance; markhotspotposition; memcpy; menucmd; message; messagebeep; messagebox; min; movetoex; msgfilterhookfunc; my_mbschr; my_mbsncat; my_mbstok; myalloc; mycheckmenuitem; mycreatebitmap; mycreatesolidbrush; myenablemenuitem; myfileread; myfilewrite; myfree; mygetnearestcolor; myrealloc; myrectangle; newcursorimagedlgproc; newiconimagedlgproc; newimageok; normalizepoints; openafile; openclipboard; opencmdlinefile; opendlg; openfile; outputdebugstring; parsedeviceline; pasteimageclip; pasteoptionsdlgproc; patblt; pencildp; penwinregister; pickdp; picksetrect; postquitmessage; processdevicesection; propbarclearhotspot; propbarclearpos; propbarclearsize; propbardlgproc; propbarprocesscommand; propbarsethotspot; propbarsetimage; propbarsetpos; propbarsetsize; propbarshowhotspot; propbarupdate; readenv; readwindowpos; rectangle; rectdp; rectdpdraw; registerclass; registerclipboardformat; registerwindowmessage; releasecapture; releasedc; removemenu; resourcetypedlgproc; restoredefaultcolors; rgb; rubberbandcircle; rubberbandline; rubberbandrect; saveasdlg; savebitmapfile; savecolorfile; savefile; saveiconcursorfile; selectimagedlgproc; selectimageinit; selectimageok; selectobject; senddlgitemmessage; sendmessage; setbkcolor; setcapture; setclipboarddata; setcolorpalette; setcursor; setdibits; setdlgitemint; setdlgitemtext; setfilename; setfilepointer; setfocus; setleftcolor; setpixel; setrect; setrightcolor; setrop2; setscreencolor; setstretchbltmode; setwindowpos; setwindowshook; setwindowtext; showhelp; showwindow; sizeribbons; snappointtogrid; startrubberbanding; strcat; strcmpi; strcpy; stretchblt; strncat; strtok; toolboxcreate; toolboxdrawbitmap; toolboxselecttool; toolboxshow; toolboxupdate; toolboxwndproc; toolbtnwndproc; translateaccelerator; translatemessage; unhookwindowshook; updatewindow; va_end; va_start; verifysavefile; viewchar; viewcreate; viewreset; viewsetpixel; viewshow; viewupdate; viewwndproc; vsprintf; winhelp; winmain; workbuttondown; workbuttonmousemove; workbuttonup; workpaint; workreset; workupdate; workwndproc; writeenv; writeprivateprofilestring; writewindowpos; wsprintf