Good day !
Let say if I have a button with captions "OK" on it
What should I do to change to captions to others when I click on it ? Let say "KO" ?
Thanks a lot !
![]()
This is a discussion on How To Change Caption's On A Button When It Is Click ? within the Windows Programming forums, part of the Platform Specific Boards category; Good day ! Let say if I have a button with captions "OK" on it What should I do to ...
Good day !
Let say if I have a button with captions "OK" on it
What should I do to change to captions to others when I click on it ? Let say "KO" ?
Thanks a lot !
![]()
You can either use
SetDlgItemText(YourDlgHandle,YourButtonID,"KO");
or you can get the handle of your button using GetDlgItem() and set the text with SetWindowText().