Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

DirectX by Hori - correction..

I don't know how to show background picture on the
dxdraw surface where you can than show sprites etc... (Like in games....background picture and than all things are happening on it.)

Tx..VePer
0
ssdjgru1
Asked:
ssdjgru1
  • 2
1 Solution
 
viktornetCommented:
You need to have a separate Image that will hold the background image and is set to alClient
I think it's better than draw it on the form's canvas since it will be deleted eveytime simothing move over the background...Even if you have your drawing in the OnPaint() of the form it will be repainted, but since the image is large, it will flicker a lot.....

Regards,
Viktor Ivanov
0
 
viktornetCommented:
Do you need any more help with this question??

Regards,
Viktor Ivanov
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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