Skip to content

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