Solved

DirectX by Hori - correction..

Posted on 1998-09-13
2
136 Views
Last Modified: 2010-04-06
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
Comment
Question by:ssdjgru1
  • 2
2 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 100 total points
ID: 1339577
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
 
LVL 10

Expert Comment

by:viktornet
ID: 1339578
Do you need any more help with this question??

Regards,
Viktor Ivanov
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
drawing animated level bar based on numbers 3 104
Controlled Assessment GCSE - desperate help needed 4 102
Delphi: ForceDirectory plain function 7 42
update joined tables 2 55
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question