Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog caption

Status
Not open for further replies.

apffal

Technical User
Apr 10, 2004
97
PT
In VC++ 6.0 applications, I always get a "No title" (followed by the app name) dialog caption.
How can I change that ?
Thanks.
 
Well that never happens to me, but you should bring up the resource editor and hit alt+enter to bring up the properties and change the caption there. You can also use SetWindowText() on the WM_INITDIALOG message.
 
I can't see "Caption" in dialog properties.
Where is it ?
 
Are you sure it's a dialog you're displaying?

The "Caption" property is quite obvious in the editor, it's on the "General"-tab in the properties dialog.

"No title" followed by the app name sounds more like the title of an SDI/MDI document.

/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top