SharpShade
SharpShade

Reputation: 2163

Render on windows' desktop (background)

is it possible to render to Windows' desktop (to overwrite the wallpaper)? It wouldn´t be Windows if this was not possible, so there must be a way.

One i found out is, to call "GetDC()" with 0. But this draws on the top - so all windows are overwriten.

I just want to overwrite the background wallpaper. Is it possible to render there with DirectX (should be possible if with GDI+)?

Any suggestions? :)

Thanks R

Upvotes: 4

Views: 1225

Answers (1)

Soonts
Soonts

Reputation: 21936

It was possible before, MS killed the feature in Vista, and it no longer works.

AVS2 (visualization library in Winamp) used IDirectDrawSurface7::Blt with DDBLT_COLORFILL flag to present stuff to desktop, with some setup code before that.

Source code. What it did.

Upvotes: 2

Related Questions