Getting the Text of the Title Bar

B

bic

How do I get the text from the Title Bar on Top in the PocketPC (ie..
When Tasks is running it has Tasks as the text at the top, when I
click on start it has Start on Top), this seems to be a simplier way
of finding out what the the current focused application. I am running
a background application.
 
B

bic

Alex Yakhnin said:
I can hardly imagine why would you need that, but you can try to call GetForegroundWindow API to get a window handle of the currently active window and then GetWindowText. Granted, that application could override the Title Bar text with it's own value...

Thank.. I have tried that and it works.
 

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