
How to change statit text in dialog box
Give the control an ID (e.g., IDC_NAME_TITLE) instead of ID_STATIC (-1) and
then post or send a WM_SETTEXT message to it just like you would any other
window.
Tom
Quote:
> Hello!
> I wonder if it's possible to change the text in Static Text or a Edit
> Box in a dialog box?
> I'm not using any MFC-classes, I'm just gonna use the dialog box for
> debug purposes so I want to
> assign a string to the Static Text at run time.
> Thanks in advance.