how to install the forms above wallpaper and under the desktop icon ?

الإجابة how to install the forms above wallpaper and under the desktop icon ?

  • Sunday, November 29, 2009 5:03 AM
     
      Has Code
    how to install the forms above wallpaper and under the desktop icon ?
    IntPtr P = FindWindow("Progman", "Program Manager");
    P = FindWindowEx(P, IntPtr.Zero, "SHELLDLL_DefView", null);
    P = FindWindowEx(P, IntPtr.Zero, "SysListView32", null);
    SetParent(FrmPtr, P);
    

    online seeking  the means will still cover the icon of the desktop !
    waitting for the talented person to give directions !
    Thanks

All Replies

  • Sunday, November 29, 2009 6:27 AM
     
     
    I don't know if possible, but if it is, the parent needs to be SHELLDLL_DefView and not the underlying ListView.  In other words, the system ListView and the form have to be siblings.

    On top of that you must set the Z-order of the siblings so the the ListView is kept on top of the newly added form.
    MCP
  • Monday, November 30, 2009 5:55 AM
     
     
    will anyone here know how to deal with it ?
  • Monday, November 30, 2009 8:36 AM
     
     Answered
    The best you're going to get is writing a COM object, embedding it in a webpage and using the Display Settings -> Desktop -> Customise -> Web.

    I'm not sure if you can enable/disable these programatically (I would assume so), so that might help
  • Monday, November 30, 2009 8:05 PM
     
     
    may be you just use a maximized transparent form and redirect mouse messages to desktop and taskbar. I realy dont know how to do this, but maybe WMI or com programming helps you.