nidhal
nidhal

Reputation: 1787

Change caption of a dialogbox when creating the dialog

Hi i have a dialogbox creating with mfc i want to set his name in initdialog, because i need to load the name from a string table how can i do this thanks for your answer.

Upvotes: 0

Views: 2862

Answers (1)

Serge Wautier
Serge Wautier

Reputation: 21878

AfxSetWindowText(CString(IDS_TITLE));

Upvotes: 1

Related Questions