Skip to content

Windows Message Monitor breaks minimum/maximum width and height #209

@ryanlua

Description

@ryanlua

If you are using a WindowMessageMonitor and have minimum/maximum width or height set, it breaks them and allows you to resize the window freely without limits.

Reproduction

  1. Open the WinUI EX Test App
  2. Go to the Window Control page
  3. Enable Limit max size. Notice when resizing that minimum/maximum width and height work fine
  4. Go to the Window Messaging page
  5. Enable Subscribe to Window Messages. Resize the window and notice that the minimum/maximum width and height are now ignored

This issue is reproducible not only using the WinUI EX Test App sample but in my own application. I have used the sample app for ease of reproduction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions