I know of no way to obtain the pause key status under windows.  I can get the scroll lock status, but not the pause key, never did figure that one out.  Windows uses it though, I don't know if it's a standard thing, or something I have installed, (though if it is an installed program, I haven't a clue which one).  When I hit the pause key, it brings up the screen snippet dialog.

Since the scroll lock key is readable though, you could use that for a pause function.  Almost nobody uses that key, so interference should be minimal.


On 4/13/2023 8:31 PM, James Richters via fpc-pascal wrote:
Does anyone know what's up with the Pause key in Windows?
Is there some way to tell if it was pushed?
I have a need for the user to pause execution of my Freepascal program, I
have a pause key.. seems like there should be some way to use it.

James

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to