Skip to content

SetWindowPos: Throw last error only if necessary#127

Merged
punker76 merged 1 commit intodevelopfrom
fix/GH-126-SetWindowPos
Jul 24, 2020
Merged

SetWindowPos: Throw last error only if necessary#127
punker76 merged 1 commit intodevelopfrom
fix/GH-126-SetWindowPos

Conversation

@punker76
Copy link
Copy Markdown
Member

Currently if the SetWindowPos returns false a Win32Exception will be thrown.

This PR changes this a little bit, so that only if there is a last error an exception will be thrown.

Closes #126

@punker76 punker76 added this to the 4.3.2 milestone Jul 24, 2020
@punker76 punker76 merged commit 9f76d22 into develop Jul 24, 2020
@punker76 punker76 deleted the fix/GH-126-SetWindowPos branch July 24, 2020 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.ComponentModel.Win32Exception: The parameter is incorrect

1 participant