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

    Question Windows: Does the rect from WM_MOVING include window decorations?

    The handler that processes the WM_MOVING message is provided a RECT with "the current position of the window, in screen coordinates", rather than client coordinates. Do those screen coordinates include all the window decorations, such as the title bar (CyCaption) height and fixed frame borders?

    And is that generally true for all screen coordinates structures provided by Windows?


    Thanks!

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

    Re: Windows: Does the rect from WM_MOVING include window decorations?

    Wouldn't this be something you can easily test for?

Tags for this Thread

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