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.
 
Back
Top