I want to know how to replace the titlebar text in my SDI to something useful.
I've tried these:

CWnd::GetWindowText();
CWnd::SetWindowText();

But no luck, if I set nothing changes, and if I get after I set, the new value is returned by GetWindowText().
And if I get before calling SetWindowText(), I get garbage instead of the "Untitled - MyApp" I thought I would get, since that is what I am seeing in the title bar.

What do I do now?
PS: I call these functions in my View (CListView) class, after construction of the view.
And also, I want to know how to flicker the titlebar on a given event, when it is minimized.

Thanks in advance

Cheers
Rossi.

==============================================
Allen Van Der Ross
Systems Programmer
Software Performance Improvement
South Africa
E-Mail: [email protected]
==============================================