Solved

DirectX by Hori - correction..

Posted on 1998-09-13
2
135 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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