Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
win32/api GetWindowText
Kyle Hunter
3/19/2008 5:51:00 AM
Hello all,
I'm using win32/api. I was using GetForegroundWindow to get the window
on top. Then I wanted to use GetWindowText to get the 'title-bar' text.
I just couldn't figure it out.
So, I google for win32/api documentation, and found one where it
enumerates through all processes and returns the GetWindowText. My
browser - Mozilla Firefox - as well as quite a few other applications
didn't show up properly. A few did, though.
How can I
1) Get the current 'caption' or 'title-bar' text of the foreground
window.
2) Is there a better way than GetWindowText? It doesn't work for many
applications so I'm wondering.
Thanks!
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
win32/api GetWindowText
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password