• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

How can I get a handle to the window for a document in MFC 6 MDI

I need to re-name the title of a window for one of the documents in a MDI project.  I have the handle for the document - how do I get the handle for the window for that document so I can change it's title?

Thanks.
0
ied168i
Asked:
ied168i
1 Solution
 
ZoppoCommented:
Hi ied168i,

there's no need to find the document's window(s) - you can use CDocument::SetTitle to change the title shown in the window's caption.

Hope that helps,

ZOPPO
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now