0

On Windows (Vista32), I want to display some simple graphics on top of a fullscreen flash window (an overlay of useful information while using the flash application). What's the fastest way to accomplish it?

I think I may be able to achieve it using DirectX with the DDSCAPS_OVERLAY flag but with the only example I've found I get an exception:

E_NOTIMPL
The function called is not supported at this time

on

m_direct_draw->CreateSurface(&ddsd, &m_overlay_surface, 0)

(full code here: http://nexe.gamedev.net/files/Overlay-2005-11-21.zip)

Something relevant to C/++ or Python would help me. I'm using the latest DirectX SDK.

Thank you

swater
  • 1
  • 1
  • 1

2 Answers2

1

Just create a Layered Window and draw to it with an alpha channel - in WPF, this is as easy as setting the AllowsTransparency bit on the Window

Ana Betts
  • 73,868
  • 16
  • 141
  • 209
0

While the transparent layered window is useful, it doesn't appear on top of the fullscreen flash with WS_EX_TOPMOST set.

Note sure how to reply to Paul sadly.

Overlaying on a 3D fullscreen application is very relevant but while it works and flash appears to load dx9, it doesn't show on flash.

Community
  • 1
  • 1
2371
  • 957
  • 1
  • 6
  • 19