Zoomin: Manipulate Bitmaps and Device Contexts

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

The Zoomin tool can be used to visually expand bitmap images from the Windows desktop. As such, it demonstrates techniques for manipulating bitmaps and device contexts.

Building SDK Samples

This sample uses the following keywords:

aboutdlgproc; adjustwindowrect; appwndproc; beginpaint; bitblt; bound; calczoomedsize; checkdlgbutton; clienttoscreen; closeclipboard; copytoclipboard; createcompatiblebitmap; createcompatibledc; createpalette; createphysicalpalette; createwindow; defwindowproc; deletedc; deleteobject; destroywindow; dialogbox; dispatchmessage; dothezoomin; drawzoomrect; emptyclipboard; enablerefresh; enddialog; endpaint; getclientrect; getdc; getdevicecaps; getdlgitemint; getkeystate; getmessage; getstockobject; getsystemmetrics; inflaterect; initinstance; isdlgbuttonchecked; killtimer; loadaccelerators; loadcursor; loadicon; localalloc; localfree; makeintresource; messagebeep; moveview; openclipboard; patblt; postquitmessage; realizepalette; refreshratedlgproc; registerclass; releasecapture; releasedc; selectobject; selectpalette; senddlgitemmessage; setbitmapdimensionex; setcapture; setclipboarddata; setcursor; setdlgitemint; setrect; setscrollpos; setscrollrange; setstretchbltmode; settimer; showwindow; stretchblt; translateaccelerator; translatemessage; winmain