March 17, 200521 yr Hi,So far I failed to define mouse area for right mouse click. If I defined MOUSE_CHILD_FUNCT( 48,38,20,35, CURSOR_UPARROW, MOUSE_RIGHTSINGLE, com_mouse_2_left_cb)it did not call my mouse callback function at all. However I saw some panels where left click was the fine change and right click was used for fast change (Project Fokker). Also PT Tu154 is using the right click for special things (open/close switch covers).For me right click always displayed the panel menu. Should I somehow disable that in panel.cfg for right click working on the gauges?Gabor
March 18, 200521 yr Well... Disregard my question. It works perfectly! I have no clue, what I had made wrong earlier.The only comment is that if you process both left AND right click, test mouse_flags with the same MOUSE_RIGHTSINGLE and MOUSE_LEFTSINGLE flags within the callback function to figure out for which event it was called.Gabor
Create an account or sign in to comment