• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

Profile Information

  • Gender

Flight Sim Profile

  • Commercial Member
  • Online Flight Organization Membership
  • Virtual Airlines
  1. bitNine

    Read/Write zoom value?

    I know this is old, but this was helpful, and I figured out how to make the above examples work: enum EVENT_ID { ZOOM_1X } simconnect.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENT_ID.ZOOM_1X, 0, GROUP_ID.GROUP1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY); I didn't cast anything and my enums are not uint derived. Not sure if that makes any difference but it works for me. I also figured out how to do more than just set the zoom to 1X. There are other zoom events. Specifically ZOOM_IN and ZOOM_OUT, except that they are backwards. ZOOM_IN zooms out and ZOOM_OUT actually zooms in. enum EVENT_ID { ZOOM_IN, ZOOM_OUT } //DEFINE EVENT simconnect.MapClientEventToSimEvent(EVENT_ID.ZOOM_IN, "ZOOM_OUT"); simconnect.MapClientEventToSimEvent(EVENT_ID.ZOOM_OUT, "ZOOM_IN"); //TRIGGER EVENTS simconnect.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENT_ID.ZOOM_IN, 0, GROUP_ID.GROUP1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY); simconnect.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENT_ID.ZOOM_OUT, 0, GROUP_ID.GROUP1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY); To get to .3x zoom, just set the zoom to 1X, then zoom out a few times (7 times, to be exact). Hopefully this helps some people!