‎07-31-2026 08:06 AM
Been writing an application. Showed it to the end customer. Their first comment was, so the GUI can't handle Windows Dark Mode.
Strangely enough, I've already put the under pinning's for color theming that could be responsive to knowing if the user's desktop preference is Dark or Light (VI's that grab all the references to all the controls and manipulate font/color, etc -- mostly to force me to be consistent)... but I seem to be limited to the GUI elements on the front panel.
I think I got the title bar figured out.
Change Title Bar Color to Reflect Color Mode.vi
But I'm stumped on the menu bar . Any way to change the background color and font color? Aside from doing custom renders, anything out there that I'm missing? Is NI doing something custom with their menus? I went mucking about in GetMenu and CreateSolidBrush in user32.dll without luck. Anyone else out there crack this nut?
Is Windows Theme Dark Mode or Light Mode.vi
‎07-31-2026 11:19 AM
I made my first LabVIEW app with a full screen LabVIEW 2026 web control. The customer was blown away as it was immediately dark mode!!! They loved the UI responsiveness too!
I wish LV handled the dark mode from windows natively! But I also wish it listened to windows desktop scaling! Another reason to use a web UI 🙂
‎07-31-2026 12:39 PM
I'm not sure how to change it on the fly or in the dev environment, but here's an example on how to change it for an executable:
I think you'd need a small wrapper VI that runs transparently to read the mode, then modify the ini file and launch your program. I'm not sure if you can accomplish this with executable flags or something.
‎07-31-2026 12:40 PM
@MichaelS78 wrote:
I made my first LabVIEW app with a full screen LabVIEW 2026 web control. The customer was blown away as it was immediately dark mode!!! They loved the UI responsiveness too!
I wish LV handled the dark mode from windows natively! But I also wish it listened to windows desktop scaling! Another reason to use a web UI 🙂
Hope I don't derail too much- but I've been interested in this but wasn't sure where to start. What did you program the UI in? I take it the LabVIEW app just displays a webpage, and that UI talks to your background LabVIEW task or something?
‎07-31-2026 12:51 PM
Let's start a new thread! If you start it I'll reply! It's so much fun!
‎07-31-2026 01:08 PM - edited ‎07-31-2026 01:08 PM
@MichaelS78 wrote:
Let's start a new thread! If you start it I'll reply! It's so much fun!
I'm interested too.. I have half a mind to lean heavy on Grafana
‎07-31-2026 01:12 PM
Thread made- https://forums.ni.com/t5/LabVIEW/Anyone-making-UI-s-using-the-2026-web-control/td-p/4482407
Let's get out of OP's thread 🙂
(Mods, delete this discussion if you'd like- it's detracting from OP's question.)
‎07-31-2026 01:27 PM
@BertMcMahan wrote:
Thread made- https://forums.ni.com/t5/LabVIEW/Anyone-making-UI-s-using-the-2026-web-control/td-p/4482407
Let's get out of OP's thread 🙂
(Mods, delete this discussion if you'd like- it's detracting from OP's question.)
I'm the OP. I needed a distraction 🙂
‎07-31-2026 01:28 PM
@wldgoose wrote:
@BertMcMahan wrote:
Thread made- https://forums.ni.com/t5/LabVIEW/Anyone-making-UI-s-using-the-2026-web-control/td-p/4482407
Let's get out of OP's thread 🙂
(Mods, delete this discussion if you'd like- it's detracting from OP's question.)
I'm the OP. I needed a distraction 🙂