Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MaximizedBounds issue with multiple monitors #286

Merged
merged 1 commit into from
Nov 7, 2021

Conversation

VolatilePulse
Copy link

@VolatilePulse VolatilePulse commented Nov 7, 2021

I'm not sure this is the best approach, however, it should resolve #277. I believe the Windows message for Min/Max Info might be a better approach but is significantly more involved.

Edit: A noted side effect of this change is that the form actually starts on the same monitor as the IDE instead of just the main monitor. Please note this is intentional behavior for WinForms, it was apparently just broken previously.

@orapps44 orapps44 merged commit 865f51d into leocb:master Nov 7, 2021
@orapps44 orapps44 changed the title Calculate MaximizedBounds OnMove Fix MaximizedBounds issue with multiple monitors Nov 7, 2021
@orapps44
Copy link
Collaborator

orapps44 commented Nov 7, 2021

Thanks for this fix.

@orapps44 orapps44 added this to the 2.3.0 milestone Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maximize form issue
2 participants