Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Handling right click on a gauge

Featured Replies

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.