Click to open or copy the files for the Union sample.
This sample takes an empty direct draw primary surface, which is created in union.cpp, and passes it to the DAView object for rendering.
This sample uses the following keywords:
_bstr_t; _ftime; _t; _tcscat; _tcscpy; blt; clienttoscreen; cocreateinstance; coinitialize; colorhslanim; compose3; couninitialize; createclipper; createdirectdraw; createinstance; createsurface; createsurfaces; createwindowex; danumber; defwindowproc; destroywindow; diffusecolor; dispatchmessage; doinit; dump_com_error; error; errormessage; exclude; finiobjects; geometryimage; getclientrect; getcurrentdirectory; getforegroundwindow; getmessage; getstockobject; gettickcount; getxvector3; getyvector3; getzvector3; importgeometry; importsound; initdxaviewobj; initfail; isiconic; islost; loadcursor; loadicon; loop; messagebox; mul; mycolor; outputdebugstring; overlay; peekmessage; perspectivecameraanim; postmessage; postquitmessage; recreatesurfaces; redrawwindow; registerclass; release; releasesurfaces; rename; rename_namespace; render; resetdxasurfaces; restore; restoreall; rotate3anim; scale2uniformanim; scale3uniformanim; setclipper; setcooperativelevel; setcursor; sethwnd; setrect; setviewport; showwindow; sin; solidcolorimage; sprintf; startmodel; startole; switch; tick; transform; translate3anim; translatemessage; uniongeometry; updateframe; updatewindow; waitmessage; windowproc; winmain