01-31-2023 03:52 PM
I need to change the state of this indicator for my application. Is anyone aware of some API call I can make to customize this?
Specifically, I'd like to change the text to something along the lines of "Attempting to log in."
See attached image for the exact element I'm talking about:
01-31-2023 05:12 PM
Unfortunately that is linked to a caption source. You can read more about them here: https://www.ni.com/docs/en-US/bundle/teststand/page/tsuiref/reftopics/captionsources.htm
Basically the status bar (which is what you sent a picture of) shows a bunch of different caption sources. It is an activeX control and each of the panes within the status bar get linked to a different source. That one happens to be linked to the CaptionSource_User which can be read about in the link above.
Some of the sources can be overridden via ui messages. You can read more about those here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3tWCAQ&l=en-US
You can specifically override the progress text by sending the UIMsg_ProgressText UI Message: RunState.Thread.PostUIMessageEx(UIMsg_ProgressText, 0, "Attempting to log in", Nothing, False)
Hope this helps,