Goddoes
January 14th, 2010, 02:53 AM
Hi!
I have problems with GetWindowText function from WinAPI.
I need to read window caption, I get window hwnd without any problems, but with GetWindowText I get buit-in caption (window text), but I need real one, which is depends on loged in user, example:
Buit-in Caption text = "BackOffice"
Caption with loged-in user = "GreatHotel - Administrator"
With SPY++ I can see "GreatHotel - Administrator", but with GetWindowText I got "BackOffice".
Can anyone help?
Thanks in advance :)
I have problems with GetWindowText function from WinAPI.
I need to read window caption, I get window hwnd without any problems, but with GetWindowText I get buit-in caption (window text), but I need real one, which is depends on loged in user, example:
Buit-in Caption text = "BackOffice"
Caption with loged-in user = "GreatHotel - Administrator"
With SPY++ I can see "GreatHotel - Administrator", but with GetWindowText I got "BackOffice".
Can anyone help?
Thanks in advance :)