Coding the WINMSG Event for Processing Mouse Events
In the WINMSG event for BUTTON_1, code a message to display when the right mouse button is clicked down when the focus is on BUTTON_1.
call msg(@window, 'Caught right mouse button click down on BUTTON_1')
In the WINMSG event for the window, code a message to display when the right mouse button is clicked down when the focus is on the window.
call msg(@window, 'Caught right mouse button click down event in the window!')