pcsxr icon indicating copy to clipboard operation
pcsxr copied to clipboard

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

Open DNS opened this issue 5 years ago • 0 comments

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

DNS avatar May 09 '20 17:05 DNS