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

Fixed bug: (win32) PCSXR Window always start at 0, 0 #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DNS
Copy link

@DNS DNS commented May 9, 2020

On Win10 LTSC 1809 (64-bit), PCSXR Window always start at coordinate 0, 0 on screen.

According to CreateWindowW documentation:

If this parameter is set to CW_USEDEFAULT, the system selects the default position for the window's upper-left corner and ignores the y parameter. CW_USEDEFAULT is valid only for overlapped windows; if it is specified for a pop-up or child window, the x and y parameters are set to zero.

So CW_USEDEFAULT can only be used with overlapped window WS_OVERLAPPED | WS_MINIMIZEBOX | WS_SYSMENU, to make them unresizable.

pcsxr

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.

2 participants