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. Article Writing
  4. Show desktop

Show desktop

Scheduled Pinned Locked Moved Article Writing
question
3 Posts 3 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.
  • O Offline
    O Offline
    obr
    wrote on last edited by
    #1

    Can anyone tell me, how can I implement Show desktop button without IShellDispatch4 object? Well I can get desktop window handle, I can go through list of child windows and minimize them, but not all of theese are aplicable. Thank You Jirka

    L T 2 Replies Last reply
    0
    • O obr

      Can anyone tell me, how can I implement Show desktop button without IShellDispatch4 object? Well I can get desktop window handle, I can go through list of child windows and minimize them, but not all of theese are aplicable. Thank You Jirka

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Try long BroadcastSystemMessage( DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam ); and the message to brodcast is minimise :) Papa

      1 Reply Last reply
      0
      • O obr

        Can anyone tell me, how can I implement Show desktop button without IShellDispatch4 object? Well I can get desktop window handle, I can go through list of child windows and minimize them, but not all of theese are aplicable. Thank You Jirka

        T Offline
        T Offline
        TomKat
        wrote on last edited by
        #3

        void DesktopShow(BOOL show) { ShowWindow(FindWindow(NULL,"Program Manager"),show); } void DesktopEnable(BOOL enable) { EnableWindow(FindWindow(NULL,"Program Manager"),enable); } void TaskbarShow(BOOL show) { ShowWindow(FindWindow("Shell_TrayWnd",NULL),show); } void TaskbarEnable(BOOL enable) { EnableWindow(FindWindow("Shell_TrayWnd",NULL),enable); } thats it !:) be cool I am the mighty keeper of the book on knowledge . Contact me to get your copy .

        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