
Changing Button Caption Dynamically
Got it.
CDialog::GetDlgItem(IDSETUP1)->SetWindowText(szResult);
Thanks to all who helped,
Duane
Quote:
> Douglas,
>How do I specify the control that I want to change the caption of. I have
>three buttons, IDSETUP1, IDSETUP2, IDSETUP3 and a text control IDOSVER.
>>Duane,
>> Try CWnd::SetWindowText(...).
>>Happy Hunting
>>--
>>Doug
>>Remove .NoSpam for e-mail
>SBN Level 2
>.