Number lock

Kelly Burgess kellyb at montana.com
Mon May 24 11:09:18 UTC 2021


Hi Kim,

>is there a command that if result=0 that you can automatically set result to 1

I see an example of how to do that here -

  https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-keybd_event?redirectedfrom=MSDN

but I haven't been able to get Register/Call DLL to work with the keybd_event function.  You could probably write an xcomp to do it.

And I also saw several commenters saying 'please don't do that unless the machine is dedicated to your app, otherwise users will find it Very Annoying when you switch that global setting on them...'

Kelly


More information about the omnisdev-en mailing list