Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Unanswered Windows Desktop Sharing API clipping area

  • Friday, May 04, 2012 1:04 PM
     
     

    We evaluate using Windows Desktop Sharing API in our applications. It works fine but there is one problem: If we share only one application and the application client area ist covered partly by an other application, than the viewer sees only the none covered areas. The covered areas are black.

    How can we avoid this? Is there a way to transmit the covered client area parts too?


    Thanks for helping

    Andreas

All Replies

  • Monday, May 07, 2012 10:34 AM
    Moderator
     
     

    I will try to involve other senior engineer who is this aspect expert to help you.

    Best wishes,


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us

  • Tuesday, May 08, 2012 3:26 AM
     
     
    AnRo wrote:
    >
    >We evaluate using Windows Desktop Sharing API in our applications. It works
    >fine but there is one problem: If we share only one application and the
    >application client area ist covered partly by an other application, than
    >the viewer sees only the none covered areas. The covered areas are black.
    >
    >How can we avoid this? Is there a way to transmit the covered client area
    >parts too?
     
    If you're talking about pre-Windows 7, then the answer is NO.  The areas
    that are covered simply do not exist, anywhere.  The "master" copy of the
    desktop is the visible frame buffer that you see.  There is no hidden area
    where the "real" window contents are stored.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.
  • Tuesday, May 08, 2012 7:00 AM
     
     

    Hi Tim,

    ok, but Microsoft Lync is able to make the hidden areas visible to the viewer (the remote site). I had evaluate this on a Vista computer. Additionaly, the Desktop Windows Manager API is able to generate thumpnails from any (not minimized) window including hidden areas.

    That means, there must be a way to get the content of the whole window. The next question is, how is that method is combinable with the desktop sharing api?

    ---

    Andreas

  • Thursday, May 10, 2012 3:34 AM
     
     
    AnRo wrote:
    >
    >ok, but Microsoft Lync is able to make the hidden areas visible to the
    >viewer (the remote site). I had evaluate this on a Vista computer.
     
    Maybe Lync installs a mirror display driver to track the window contents
    themselves -- I don't know.
     
    >Additionaly, the Desktop Windows Manager API is able to generate
    >thumpnails from any (not minimized) window including hidden areas.
     
    Desktop Window Manager owns the offscreen texture surfaces where the
    windows draw their contents, and that feature ONLY works if you have Aero
    Glass turned on.  Desktop sharing has to work whether Aero Glass is enabled
    or not.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.