Getting the title text from an MDICLIENT window

  • Thread starter Thread starter pigeonrandle
  • Start date Start date
P

pigeonrandle

Hello. I hope you are all well.

I've been trying to get the text from an MDICLIENT window (recognised
by SPY++ as 'WindowsForms10.MDICLIENT.app3').
When i try to get the text using SendMessage(WM_GETTEXT), or good old
GetText(), i get an empty string returned. Eh?

Spy++ doesn't seem to get the text either. Do i need to use some
WM_MDI* type messages or did MS leave out the handling of that message
for MDI forms? Im using Visual Studio 2003.

Cheers,
James Randle.
 
Stupid pigeon!
The ''WindowsForms10.MDICLIENT.app' is the container for the MDI forms.
The actual MDI form is 'WindowsForms10.Window.8.app3'.

Anybody else successfully wasted half their day?! :O)

James Randle.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top