Custom Active Desktop Application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Olie

    #1

    Custom Active Desktop Application

    I need to create a application that acts as an Active Windows Desktop.
    I can currently get a form with controls to behave like the desktop and
    I use API functions (SetPosition()) to force it to always be on the
    bottom. The problem is that the code to force it to be on the bottom
    does not always work. There are ways to get the desktop to come to the
    front and hide all the other windows.

    I thought about drawing the window directly to the desktop but in this
    situation any controls on the form stop working.

    I need the form to always sit under all the windows and never come to
    the front. What is the best way to do this if any.

  • Mattias Sjögren

    #2
    Re: Custom Active Desktop Application

    >I need to create a application that acts as an Active Windows Desktop.
    Couldn't you just create a control and host it on the Active Desktop?
    I wouldn't do that in managed code though.


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    • Olie

      #3
      Re: Custom Active Desktop Application

      Couldn't you just create a control and host it on the Active Desktop?
      I wouldn't do that in managed code though.
      That would mean I would have to have explorer installed on the target
      device and I do not. The device is running windows embedded without
      explorer and for other reasons can not have explorer installed.

      Comment

      Working...