Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Window Under the Desktop like Drempels

Window Under the Desktop like Drempels

Scheduled Pinned Locked Moved IT & Infrastructure
comdebugginghelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zero_divide_1
    wrote on last edited by
    #1

    One of the craziest screensavers I've ever seen was Geisswerks.com's Drempels screensaver, which also allowed you to run the screensaver as a desktop "wallpaper," under your desktop icons. I had a nice idea for a small calender program that runs on the desktop similar to how Drempels worked - creating something underneath the desktop icons (however I need it to also keep the current desktop wallpaper, so it would be sort of between the desktop icons and the desktop wallpaper). I know that the Desktop wallpaper is on a completely different window and that the icons are part of the "Program Manager" window (according to Spy++). m_pProgmanWnd = CWnd::FindWindow(_T("Progman"), _T("Program Manager")); if(m_pProgmanWnd) { m_pTestWnd = new CTestWnd; m_pProgmanChildWnd = m_pProgmanWnd->GetWindow(GW_CHILD); if(!m_pTestWnd->CreateEx(0, NULL, NULL, WS_CHILD | WS_VISIBLE, CRect(0,0,GetSystemMetrics(SM_CXFULLSCREEN), GetSystemMetrics(SM_CYSCREEN)), m_pProgmanWnd, 23)) { TRACE("FAILED!"); } m_pProgmanChildWnd->SetParent(m_pTestWnd); m_pTestWnd->RedrawWindow(); m_pProgmanChildWnd->RedrawWindow(); m_pTestWnd->SetWindowPos(&wndBottom, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); } I used this code to get the window object m_pTestWnd to show up on the desktop and switch places with the icon's window, but I can't seem to make it transparent or allow the desktop icons to continue being seen (IMPORTANT NOTE:Using this code requires the program to swap back the m_pProgmanChildWnd to be the child of m_pProgmanWnd, otherwise when the program exists, the desktop icons are lost, I think (I never tried it and don't really want to :)). Can anybody help me in creating an effect like what Geiss did? Sean Payne (Zero_Divide_1)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups