• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

it is About the DirectDraw

why I can't Create a direct draw surface larger than the screen resolution.
is it about a bad flaging method or what?
0
georgesy
Asked:
georgesy
1 Solution
 
bwilkins081898Commented:
What Version Of DirectX are you programming for?
0
 
ghakanCommented:
with DirectX you can't create surfaces wider than the width of the screen (the current mode).


0
 
georgesyAuthor Commented:
if can't create a surface wider and larger than the screen resolution then please help by telling me the methode to put a part of a bitmap(that is larger then the screen) on the screen.I have tryed to put it with the bitblt methode that copy from the bitmapHeader to a Ddrawsurface butit isn't fast enough to make a successful game.
0
 
kinkajouCommented:
You need to extract the part of the bitmap you want to display. The extracted portion needs to be the size of the current screen/mode. Use Direct Draw Blt function to display the extracted image. If this is somewhat foreign sounding, you may need to learn Direct Draw - get the SDK, which is free. The DirectX SDK 6.0 has many souce examples and tutorials.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now