Can someone please explain to me the usage of 'gx_window_event_process()' in GUIX event handlers.
In example projects, its use does not seem to follow a pattern.
Some handlers call the routine on entry to the handler, others only in certain events.
I can't find the source code for the routine (hidden for GUIX i assume), and as usual i struggle to find detailed documentation for GUIX.
The only documentation which I found is:X-Ware™ Component Documents for Renesas Synergy™ > GUIXwhich does not explain what this function does in details.
The gx_window_event_process() function is used to handle essential GUIX events such as: GX_EVENT_SHOW, GX_EVENT_FOCUS_GAINED, GX_EVENT_PEN_UP, GX_EVENT_PEN_DOWN etc. Thanks to this function a window can be displayed, a pressed widget can gain a focus, a pressed button can be displayed as pressed down. If you would like to achieve a different bahaviour of the GUI in case of such basic events you could skip the gx_window_event_process() function call and implement event handling by yourself.
Usually gx_window_event_process() function is called at the beginning of a window handler function. This guarantees that it will be called for every event.
To view this function source code you would need the development and production license which you can generate on Synergy Gallery ("Create a Development/Production License" button). Set this license in e2 studio. Then add to your project the GUIX source:Synergy Configuration window > Components tab > Express Logic > all > gx_src (selected)Press Generate Project Content button and you will see the file:<project_dir>\synergy\ssp\src\framework\el\gx\gx_src\gx_window_event_process.c
In reply to MCP: