John Hagen
May 15th, 1999, 02:45 PM
I have a button in a modeless dialog box called IDC_PAUSE. This button will cause a data stream, which is filling an edit control, to pause. What I want to do is change the text of the button to &Resume after the PAUSE has been pressed. Then when RESUME is pressed, it goes back to PAUSE.
My problem is I don't know how to do this. I see where I can use the SetButtonText(index, *text) and it should work. tried it but fails, assertion error and others. Can someone post a snippet of code to change the text on the button? How do I know what the button index is?
Thanks in advance!
John Hagen
My problem is I don't know how to do this. I see where I can use the SetButtonText(index, *text) and it should work. tried it but fails, assertion error and others. Can someone post a snippet of code to change the text on the button? How do I know what the button index is?
Thanks in advance!
John Hagen