Change Captions on Command Buttons
I have a dialog that has one command button for each letter of the alphabet. The names are IDC_A, IDC_B, etc. When the application boots up, all the captions on the buttons are upper case. I have a radio button that is initially set to upper case. When the user clicks on the lower case radio button, I need to change all the captions to lower case. What would be the best way to do this? I could probably make a CButton for each button, but that would be extremely inefficient, as all I need to change is the captions.
Thank you,
-Dev578
I'm not sure what language, what API's you're using so I'll just give you a C++ function: SetWindowText().
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement