how to Clip window to primary display monitor
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 6 of 6

Thread: how to Clip window to primary display monitor

Threaded View

  1. #1
    Join Date
    Jan 2007

    how to Clip window to primary display monitor

    dear respected members.

    if a computer is connected with another monitor(extended display), as we know we can move a window to secondary (extended) display, while still using primary monitor workarea for other tasks. i use it all the time when i want to watch movie while still want to work on something. .

    what i want to do is, that even with extended display, i would like to confine the window to primary monitor only, i was using clipping(SetWindowRgn) for it by calculating the primary corrdinates. but sadly this approach disables the aero effect.

    i have asked this quesiton in other thread, but the context was not clear i think,

    Last edited by Deepak_Sharma; June 15th, 2012 at 01:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)