thpatch / thcrap-tsa

Basic thcrap patches maintained by the Touhou Patch Center developers
https://www.thpatch.net
23 stars 13 forks source link

TH185/???: Game will create window outside the space available by monitors #58

Closed 32th-System closed 1 year ago

32th-System commented 2 years ago

The game will store the last position of it's window in it's .cfg file and pass it as the X and Y parameters for CreateWindowExA. The problem is that the game won't do things like check if that position is within any monitor plugged in.

I last opened th185 with the game window on my second monitor. I no longer have it but the game will still try to place it's window in the space that monitor used to occupy. Because of that, the game is outside the boundaries of the monitor I still have, and therefore invisible and impossible to select

nmlgc commented 1 year ago

thcrap_tsa has had a workaround for this issue for a long time. Did this game start using new Win32 functions?

32th-System commented 1 year ago

I didn't know