Re: Drawing a simple pixel to the foreground

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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




.



Relevant Pages

  • Re: [kde] transparent panel and KDM colour
    ... The panel is transparent by default. ... you need composite enabled ("Desktop Effects" in System Settings.) ... In kde3 there was a transparency setting and in advanced a sliding scale to ... transparency level. ...
    (KDE)
  • Re: K-9
    ... they ARE in the same scene in the previews. ... a panel is opened by the Doctor, Rose SJS and Mickey behind her. ... "Think about how stupid the average person is, ...
    (rec.arts.drwho)
  • Re: Zits 7/14
    ... Funny, I remember it as a scene from Friends after Rachel got her ... I remember the scene from Friends. ...
    (rec.arts.comics.strips)
  • Transparent Layer?
    ... I would like to create a panel, ... designer!), that is the same size as the current winform, and has ... transparency set to 95%. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Measure point to point
    ... What I would like to do is have a panel within the "screen capture" ... form that has total transparency, while the form itself has partial ... you cannot easily draw anything on top of the hole, ...
    (borland.public.delphi.thirdpartytools.general)