Hello, friends.
I want to dynamically add caption for a Dialog (ex. IDD_DIALOG1). I tried like the following way: SetDlgItemText(IDD_DIALOG1, "abcde");
I expected that the caption will be abcde, But it didn't work. How should I do ?
Thanks.
Printable View
Hello, friends.
I want to dynamically add caption for a Dialog (ex. IDD_DIALOG1). I tried like the following way: SetDlgItemText(IDD_DIALOG1, "abcde");
I expected that the caption will be abcde, But it didn't work. How should I do ?
Thanks.
Try CDialog::SetWindowText().
Regards,
Paul McKenzie
Paul, Thanks a lot !
I tried and it works.