Changing the text in a menu button from within a program? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Changing the text in a menu button from within a program?

katmankatman Posts: 24Member
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?

«1

Comments

«1
Sign In or Register to comment.