I'm using MSVisual C++. In my program, I have a main window with a menu bar across the top. Alternate clicks of a button on the menu initiates or terminates a soundcard playing a pure tone. But there is a delay before the soundcard plays the tone, during which I would like to tell the user that the button click was processed (so it isn't clicked again). Is there a way to change the text label of the menu button from within the program to display the current state of either that the soundcard is going to play or instead that the program is waiting for a mouse click?
0 · ·