pcsxr
pcsxr copied to clipboard
Fixed bug: (win32) PCSXR Window always start at 0, 0
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.
