Click to open or copy the files for the Flip2d sample.
This sample is a basic page flipping application. The cube renders to the back buffer and flips.
This sample uses the following keywords:
acquire; adjustwindowrectex; appabout; appendmenu; appidle; appinit; appinitmenupopup; apppause; appwndproc; blt; checkmenuitem; concatenatexrotation; concatenatextranslation; concatenateyrotation; concatenateytranslation; concatenatezrotation; concatenateztranslation; cos; createdevice; createfont; createmouse; createpalette; createpopupmenu; createsolidbrush; createsurface; createwindowex; crossproduct; ddinit; ddsetmode; ddterm; defined; defwindowproc; deleteobject; dialogbox; directdrawcreate; directinputcreate; dispatchmessage; dotproduct; double; drawmenubar; enddialog; enumdisplaymodes; fillscan8; fixed; fixed_div; fixed_mul; flip; fliptogdisurface; frac; getattachedsurface; getcaps; getclientrect; getdc; getdevicecaps; getdevicestate; getelement; getmenu; getmenuitemcount; getmenuiteminfo; getmenuitemrect; getstockobject; getstockpen; getsystemmetrics; getsystempaletteentries; getw; getx; gety; getz; homogenize; initdinput; isiconic; islost; loadaccelerators; loadcursor; loadicon; lock; magnifycube; makemenuitemdata; matrix_4x4; memcpy; messagebox; modecallback; muldiv; normalize; peekmessage; point_4; polygon; postmessage; postquitmessage; pow; projectanddrawcube; quadruple; redrawwindow; registerclass; release; releasedc; renderframe; restore; rgb; selectbrush; selectobject; selectpen; setbkmode; setcooperativelevel; setcursor; setdataformat; setdisplaymode; setelement; setmenuiteminfo; setpalette; setrect; settextcolor; setw; setwindowpos; setx; sety; setz; showwindow; sin; sprintf; sqrt; swap; swappt; switch; textout; timegettime; transformcube; translateaccelerator; translatemessage; triangle8; unacquire; unlock; up; updatewindow; vector_4; view; view_transform; viewpoint; waitmessage; winmain; wsprintf; zeromemory