Home › Forums › Software Development › Making a taskbar icon GazeAware › Reply To: Making a taskbar icon GazeAware
Hi @jsneal519, thanks for your query and patience whilst we tried to find a solution for your needs. There is within .NET the possibility to “SetFocus”: https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setfocus
Which you could implement to run after a certain time in which no gaze data is received within the application. Alternatively, you could try to set your gaze-aware application to be ‘always on top’ which you can implement using .NET: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.topmost?view=netframework-4.7.2 or alternatively a third party program or even a simple script via Autohotkey. Although this technique may not necessarily be full proof.
As it stands, there is not currently a method to make the taskbar icon gaze aware, so hopefully one of these workarounds should satisfy your requirements.
Please let us know if we can be of any further assistance.