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

AdjustWindowRectExForDpi dwStyle/dwExStyle parameter type #757

Closed
frozenlib opened this issue Nov 25, 2021 · 0 comments
Closed

AdjustWindowRectExForDpi dwStyle/dwExStyle parameter type #757

frozenlib opened this issue Nov 25, 2021 · 0 comments
Assignees
Labels
usability Touch-up to improve the user experience for a language projection

Comments

@frozenlib
Copy link

The type of dwStyle/swExStyle parameter of AdjustWindowRectExForDpi function is uint.

It would be better to use WINDOW_STYLE and WINDOW_EX_STYLE as in the AdjustWindowRectEx function.

public unsafe static extern BOOL AdjustWindowRectExForDpi([In][Out] RECT* lpRect, [In] uint dwStyle, [In] BOOL bMenu, [In] uint dwExStyle, [In] uint dpi);
public unsafe static extern BOOL AdjustWindowRectEx([In][Out] RECT* lpRect, [In] WINDOW_STYLE dwStyle, [In] BOOL bMenu, [In] WINDOW_EX_STYLE dwExStyle);
@mikebattista mikebattista self-assigned this Nov 29, 2021
@mikebattista mikebattista added the usability Touch-up to improve the user experience for a language projection label Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Touch-up to improve the user experience for a language projection
Projects
None yet
Development

No branches or pull requests

2 participants