Hi,
I have a problem which is hard to describe (even more without source code), but maybe someone immediately know what to do.
I have a program which opens a WindowedScreen, does stuff and closes it. Afterwards it is opened again, by the same procedure. But now (and every single time) it thinks the left mouse button is pushed. this continues until I actually click it and it behaves like normal. Before closing the window for the first time, I use ReleaseMouse() to release the mouse, but that does not seem to be the problem. Does by chance anybody know how to fix this?
Hard to describe 3D problem
Hard to describe 3D problem
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Re: Hard to describe 3D problem
Try to send a left mouse button up event before the false down
Code: Select all
mouse_event_(#MOUSEEVENTF_LEFTUP, x, y, 0, 0);
Re: Hard to describe 3D problem
Oh thanks, that works!
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB