FILEREQUEST$ and MOUSEAXIS[3,4]

Previous topic - Next topic

Hemlos

When my program(window mode, not tested fullscreen) calls FILEREQUEST$, the mouse buttons are pressed to open this command.
As usual the main window disappears and loses focus, then the next focus is on the dialog file window.
When you click cancel or ok, the focus is returned to the main program window, proper.

This is when the problem happens, MOUSEAXIS[3,4], do not update with the proper information when the focus is returned to the program.
The program thinks the mouse buttons are still pressed, and the only way i know how to get around this, is by clicking the mouse again.

This is a problem unknown to the program, and therefore is certainly bug.

One other observation about filerequest..
On first call to filerequest, the window disappears, however, not 2nd 3rd etc, it remains visible.
Bing ChatGpt is pretty smart :O

mentalthink

Yes Hemlos when you use filerequest if you don´t use full screen, don´t works fine, disappears the current screen, for a moment and after you can choose cancel or ok, whit setscreen correctx, correcty true runs fine...

This it´s from a long time ago...

Hemlos

Im not sure i understand what you are saying..
setscreen fixes mouseaxis problem?
Bing ChatGpt is pretty smart :O

mentalthink

No hemlos, sorry, I reply to this:

When my program(window mode, not tested fullscreen) calls FILEREQUEST$, the mouse buttons are pressed to open this command.
As usual the main window disappears and loses focus, then the next focus is on the dialog file window.

If it´s full Screen runs fine.

Hemlos

ah ok thanks for the extra info for this report.
Bing ChatGpt is pretty smart :O