using DirectDraw only in window

Hi
what may I change in here

GraphicsCard.SetCooperativeLevel(Me, CooperativeLevelFlags.FullscreenExclusive)
GraphicsCard.SetDisplayMode(800, 600, 16, 0, False)

to show graphic in form window, not in fullscreenmode

or how to rewrite code sample from
http://gpwiki.org/index.php/DirectX:DirectDraw:Tutorials:VBNET:DX9:Basics
to make graphics run in some area in window (or possibly to draw output only to some control, like to picturebox)


Answer this question

using DirectDraw only in window

  • using DirectDraw only in window