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

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

Closed
32th-System opened this issue Aug 31, 2022 · 2 comments
Labels

Comments

@32th-System
Copy link
Member

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
Copy link
Contributor

nmlgc commented Dec 14, 2022

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

@32th-System
Copy link
Member Author

I didn't know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants