CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2001
    Posts
    306

    problem floating CDialogbar on multiple screen environment

    Hello,

    I have an problem with a CDialogbar if my app runs on a system with two screens (side by side).
    I can not resize it while the CDialogbar is in floating state on the second screen.
    I figured out that the problem is the mfc-function CDockContext::Stretch().
    It limits the CDialogbar to the primary screen (using ::GetDesktopWindow() to verify the position).

    What can I do?

  2. #2
    Join Date
    Jul 2001
    Posts
    306

    Re: problem floating CDialogbar on multiple screen environment

    Hello,

    I think, this will help me to find a solution:
    http://collaboration.cmc.ec.gc.ca/sc...709b/9709b.htm

    I can overwrite EnableDocking and create a new (working correct) CDockContext-class.

    Ralf

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: problem floating CDialogbar on multiple screen environment

    Thank you for posting back what you've found.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured