How to get window title / caption of a .NET window?

J

jsmani

Hello,

I am using .NET CF v3.5 in Window Mobile 6.5.

I am trying to traverse through all the windows in the system and need to get window title / caption. I could successfully traverse the windows. However, I could only get window title for Win32 applications and not for .NET created windows (with class NETCF_AGL_BASE_).

I am using Win32 function GetWindowText() using dllimport.

Any help is highly appreciated!!

Regards,
Subbu
 

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

Top