hello everyone !
i am developing Game to store : steampowered.com , using B4J
and recently I was having problems, as there is a button where I can start and close the application from the Steam client itself, as in the image below:
but I was having problems with this button because as soon as I clicked it, the B4J application would close all windows, however, the application was running in the background because it was stuck in an xui.AsyncMessageBox ( for more details, there is another topic I had created: TOPIC ) , so I sent a support ticket to the Steam Team , and answered the following >
Play Button : Screenshot
Stop Button : Screenshot
I would like to know if there is any way to deal with this: WM_CLOSE so that I can differentiate if it was a closing signal coming from the "Steam Client", or if it is just a click on the close button in the Window triggered by the user.
i am developing Game to store : steampowered.com , using B4J
and recently I was having problems, as there is a button where I can start and close the application from the Steam client itself, as in the image below:
but I was having problems with this button because as soon as I clicked it, the B4J application would close all windows, however, the application was running in the background because it was stuck in an xui.AsyncMessageBox ( for more details, there is another topic I had created: TOPIC ) , so I sent a support ticket to the Steam Team , and answered the following >
Play Button : Screenshot
Stop Button : Screenshot
Hi there,
The behavior of the Steam 'Stop' button is different depending on the platform (Windows, MacOS, or Linux). On Windows, Steam will send a WM_CLOSE message to the app's Windows. Elsewhere, a kill signal is sent to the game's process.
From your depot, it looks like your game is a Java-based game. It's possible that your game isn't properly handling the WM_CLOSE event. You may need to import the appropriate Windows DLL to interact with the Windows message pump and properly handle that message.
I would recommend posting your question on the Steamworks Development community forum. It is very likely that a developer there has encountered (and potentially resolved) the same issue that you have.
Best,
Steam Support Team
I would like to know if there is any way to deal with this: WM_CLOSE so that I can differentiate if it was a closing signal coming from the "Steam Client", or if it is just a click on the close button in the Window triggered by the user.