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.

Moving Mouse Click Area

Featured Replies

Hi,I am looking for the trick on how I can program in XML the mouse click area on a moving position. For example on radar screen I want to click on the AI/Target symbol in order to get additional info displayd. The trouble is, the target moves, and the click spot must move too.Any ideas ???Thanks in advance.Dietmar

Hi,Do you use Arne Bartels Trafficradar?If not this is his mouse code:<Area Left="0" Top="0" Width="150" Height="150">Tooltip>%((C:fs9traffic:toolTipId,string) d )%{if}%ID: %!s! ALT: %((C:fs9traffic:toolTipAlt,number) 100 / )%!d!00ft GS: %((C:fs9traffic:toolTipGroundSpeed,number))%!d!kt TRK: %((C:fs9traffic:toolTipTrackAngle,number))%!d!° DST: %((C:fs9traffic:toolTipDist,number))%!.1f!nm%{end}</Tooltip><!--C:fs9traffic:mouseRelPosX and C:fs9traffic:mouseRelPosY represent relative coordinates 0,0 is top left, 1,1 is bottom right therefore scale M:X with width and M:Y with height--><Cursor Type="Hand" /> <Click Kind="Move">(M:X) 150 / (>C:fs9traffic:mouseRelPosX, number) (M:Y) 150 / (>C:fs9traffic:mouseRelPosY, number)</Click></Area>Jab

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Hi,Thanks for your reply.Yes I know Arne's gauge for FS9. I am on FSX SP2 and my code works with the FSX ITrafficInfo module. I am fine with all other Info parameter like distance LAT/LON etc.and the string parameter like ATC Airline, ATC Type etc. etc.. The TRafficInfo module does not provide me aparameter like (C:ITrafficInfo:toolTipId,string). I do not see mouse functions at all along with ItrafficInfo. Anyway, it is not so important for my development. I just can do it with a click button which selects the AI ID in order to show what I want. The click directly on the symbol looked just very elegant to me.Dietmar

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.