Click to open or copy the files for the GDIdemo sample.
The GDIdemo sample contains several examples of using GDI calls to generate graphics.
This sample uses the following keywords:
aboutdlgproc; allocwindowinfo; ballbounce; ballcreate; balldestroy; ballgetdimensions; ballgetdirection; ballgetposition; ballsetdimensions; ballsetdirection; ballsetposition; beginpaint; bitblt; bouncecommandproc; bouncecreateproc; bouncedestroyproc; bounceobjects; bouncepaintproc; bounceproc; bouncerefresh; checkedgeposition; chord; combinergn; commandproc; createappwindow; createbouncewindow; createcolorscalepalette; createdrawwindow; createellipticrgn; createmazewindow; createmdiclientwindow; createpalette; createpen; createpolywindow; createproc; createrectrgn; createsolidbrush; createwindow; createxformwindow; debugout; defframeproc; defined; defmdichildproc; deleteobject; destroyproc; dialogboxparam; dispatchmessage; displaydialogbox; drawcommandproc; drawcreateproc; drawdestroyproc; drawmaze; drawobject; drawpaintproc; drawproc; drawxform; ellipse; enddialog; endpaint; fillrect; fillrgn; freeprocinstance; freewindowinfo; getclassbrush; getclasslong; getclassword; getclientrect; getdc; getdevicecaps; getdlgitem; getinstance; getmessage; getstockobject; getwindowlong; getwindowword; getworldtransform; globalalloc; globalfree; globallock; globalunlock; invalidaterect; killtimer; loadcursor; loadicon; localalloc; localfree; locallock; localunlock; lockwindowinfo; lrandom; makeintresource; makeprocinstance; mazecommandproc; mazecreateproc; mazedestroyproc; mazepaintproc; mazeproc; modifyworldtransform; outputdebugstring; paintproc; paintwindow; paletteindex; pie; polybezier; polycommandproc; polycreateproc; polydestroyproc; polydrawbez; polyinitpoints; polyline; polynewvel; polypaintproc; polyproc; polyredraw; postmessage; postquitmessage; realizepalette; rectangle; registerappclass; registerclass; releasedc; resetxform; rgb; roundrect; selectobject; selectpalette; sendmessage; setfocus; setmapmode; setrect; setrop2; settimer; setviewportextex; setviewportorgex; setwindowextex; setwindowlong; setworldtransform; showwindow; switch; translatemdisysaccel; translatemessage; unlockwindowinfo; unregisterappclass; unregisterclass; updatewindow; winmain; wndproc; wsprintf; xformclear; xformcommandproc; xformcreateproc; xformdestroyproc; xformpaintproc; xformpoint; xformproc; xformscale; xformtrans