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.

enum SIMCONNECT_TEXT_TYPE Yellow text help

Featured Replies

I'm working with the TextMenu example of the SimConnect SDK. I'm trying to get the text inside the textmenu window to display in Yellow but the enum element for that doesn't work...I get the default white color for the text.

 

Here is my line

SimConnect_Text(hSimConnect, SIMCONNECT_TEXT_TYPE_MENU, SIMCONNECT_TEXT_TYPE_PRINT_YELLOW, EVENT_MENU_1, sizeof(Menu1), (void*)Menu1);

The enum element I'm using is "SIMCONNECT_TEXT_TYPE_PRINT_YELLOW" which should print the text in yellow (unless I'm mis-understanding the SDK).

 

Here is the enum list:

enum SIMCONNECT_TEXT_TYPE{
  SIMCONNECT_TEXT_TYPE_SCROLL_BLACK,
  SIMCONNECT_TEXT_TYPE_SCROLL_WHITE,
  SIMCONNECT_TEXT_TYPE_SCROLL_RED,
  SIMCONNECT_TEXT_TYPE_SCROLL_GREEN,
  SIMCONNECT_TEXT_TYPE_SCROLL_BLUE,
  SIMCONNECT_TEXT_TYPE_SCROLL_YELLOW,
  SIMCONNECT_TEXT_TYPE_SCROLL_MAGENTA,
  SIMCONNECT_TEXT_TYPE_SCROLL_CYAN,
  SIMCONNECT_TEXT_TYPE_PRINT_BLACK = 0x0100,
  SIMCONNECT_TEXT_TYPE_PRINT_WHITE,
  SIMCONNECT_TEXT_TYPE_PRINT_RED,
  SIMCONNECT_TEXT_TYPE_PRINT_GREEN,
  SIMCONNECT_TEXT_TYPE_PRINT_BLUE,
  SIMCONNECT_TEXT_TYPE_PRINT_YELLOW,
  SIMCONNECT_TEXT_TYPE_PRINT_MAGENTA,
  SIMCONNECT_TEXT_TYPE_PRINT_CYAN,
  SIMCONNECT_TEXT_TYPE_MENU = 0x200
};

Thank you for any help...

Ralph Freshour

www.GMTPilots.com

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.