Thanks for the comments and feedback.
Axeman, there are a few global flags that contain the IDs of certain active controls. If there is an active input box then app\actInputBox will contain the handle of the active input box, otherwise it will be 0.
I also use a similar technique to save CPU time when my applications are idle so I will probably add a FUI_IsAppIdle( ) function to determine if the application can be set as idle (eg no mouse movement/clicking, no active input boxes etc)
Axeman, there are a few global flags that contain the IDs of certain active controls. If there is an active input box then app\actInputBox will contain the handle of the active input box, otherwise it will be 0.
I also use a similar technique to save CPU time when my applications are idle so I will probably add a FUI_IsAppIdle( ) function to determine if the application can be set as idle (eg no mouse movement/clicking, no active input boxes etc)