|
-
May 11th, 1999, 07:18 AM
#1
Changing the caption on a modal dialog
I have tried to change the caption for a modal dialog with this code:
CMyDia dlg;
dlg.SetWindowsText("Hello World");
dlg.DoModal();
The code compiles and runs but the caption will not change. The CMyDia class is just a dialog with a static text. The class is created by ClassWizard.
The code is in a dll.
//Anders
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|