I'm somewhat of a TestStand novice, so maybe there is something obvious I am missing.
I have taken the Visual C++ Full-Featured Operator Interface code and have modified it to allow a client application to send in "requests" to the Operator Interface to perform some basic functions like "run sequence", "suspend sequence", and of concern to this note "local/remote mode". When the client application request "remote mode", I would like to disable most/all of the menu items and buttons on the GUI so that a user can watch the operator interface run through a sequence (started via the client application), but the operator would not be able to affect the running of the sequence nor start a new sequence nor do much of anything else. Once the client application is done running the desired sequence, it would send a request to put the Operator Interface back into "local mode", and then all the menu options and buttons would be enabled again for the user standing at the Operator Interface console.
I can see that maybe one can manipulate the tools menu items using GetRunTimeToolMenuItems and then manipulating the RunTimeMenuItems returned, but I didn't dig deep enough into that to see if you actually disable the tools menu items. In any case, I would like to disable more than just the tools menu items, so I'm hoping there is some other menu item access I can use.
Could I modify the RebuildMenuBar() function to take an argument that would basically not even paint the menu items when in "remote mode"? Or is there something more straightforward?
Thanks for any suggestions.