Overview
This VI shows how to change a built executable's menu and menubar colors. This includes both backgrounds and foregrounds (font color). This is done by adding the relevant tokens in the executable's .ini file with the proper hexadecimal colors.
Description
By programmatically changing an executable's menu and menubar colors as well as the font color, you can adjust an application to match desired color schemes. This VI shows how to change a color box to a hexadecimal color string, which is then stored in the executable's .ini file (configuration file). This uses the following ini tokens (where ###### is a hexadecimal representation of a color):
menu.background = ######
menu.foreground = ######
menubar.background = ######
menubar.foreground = ######
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram

(note: because of the nature of this VI, uploading a snippet is very impractical. You will need to download the attached files in order to access the block diagram)
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.