Re: Drawing a simple pixel to the foreground
- From: "Daniel" <DanielV@xxxxxxxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 08:31:02 +0100
If your dx scene is attached and rendered to the winform, you will need to
use a panel wih transparency, place that over the form and then draw using
the Graphics object in gdi of the panel.
However off the top of my head i cannot remeber if a transparent panel ends
up showing the forms background rather than the dxscene through it. i know i
had issues with a dx scene going through a winform control.
Placing controls and so forth that dont require transparency over the
dxscene is easy tho. Use them as usual. So if your buttons are simple shapes
you'll have no issues.
Why are you not making your interface in dx?
D
"Carsten Schmitt" <cs7364873@xxxxxxx> wrote in message
news:kvf9k7f00ee1$.1ln9bry1diks9.dlg@xxxxxxxxxxxxx
Hello,
I want to draw a simple pixel (i.e. a red pixel in the center of the
screen), which is always in the foreground - even when running a
fullscreen
application like a DirectX game.
I need this as an easy entry for programming later a HUD, which shows
several informations, like date, time, company logo, etc.
Any help or just a simple code example would be appreciated.
Thank you.
Carsten
.
- Follow-Ups:
- Re: Drawing a simple pixel to the foreground
- From: Carsten
- Re: Drawing a simple pixel to the foreground
- References:
- Drawing a simple pixel to the foreground
- From: Carsten Schmitt
- Drawing a simple pixel to the foreground
- Prev by Date: Re: Createing new files
- Next by Date: RE: very strange serializtion exception
- Previous by thread: Drawing a simple pixel to the foreground
- Next by thread: Re: Drawing a simple pixel to the foreground
- Index(es):
Relevant Pages
|