Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: (Windows-specific) render on wallpaper?  (Read 2919 times)

0 Members and 1 Guest are viewing this topic.

barnack

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
(Windows-specific) render on wallpaper?
« on: May 12, 2019, 12:39:34 am »
Does anyone know how to (if it's even possible) get the handle (if it even has one) of Windows's wallpaper and use it as SFML graphics rendering surface? I've successfully done something similar with the taskbar, but i can't find out how the wallpaper works. The taskbar seems to act like a borderless fixed window with an on top priority, or at least i could retrive the handle to draw on as if it was a window. But i've no idea how the desktop works...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: (Windows-specific) render on wallpaper?
« Reply #1 on: May 12, 2019, 09:50:32 am »
This question is not related to SFML, you should probably ask it on a forum with more low-level Windows experts.
Laurent Gomila - SFML developer

Hapax

  • Hero Member
  • *****
  • Posts: 3372
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: (Windows-specific) render on wallpaper?
« Reply #2 on: May 12, 2019, 05:35:57 pm »
I'm surprised you couldn't find something to help you. This seems to be what you are looking for:
https://stackoverflow.com/questions/1669111/how-do-i-get-the-window-handle-of-the-desktop
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

barnack

  • Jr. Member
  • **
  • Posts: 56
    • View Profile