Link to home
Start Free TrialLog in
Avatar of tearsoftragedy
tearsoftragedy

asked on

FindwindowEx

Hi,

i want to read the text of the user at MSN Messenger Login dialog... it's a ComboBox.

Inside the window there's a class named 'SysCredential' and it's the parent for the combobox, but when i try to get its handle i do not success... here's part of the code

var
  wnd: HWND;

······

// Find Msgr Window
wnd := FindWindow('#32770', '.NET Messenger Service');

// Find 'SysCredential' window
wnd := FindWindowEx(wnd, 0, 'SysCredential', nil);

// **** THIS should give me the handle for the combobox, but it does not! :(
wnd := FindWindowEx(wnd 0, 'ComboBox', nil);

 
Please Help me!! what am i doing wrong????
btw... i got class names using Spy++
--
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of BTecho
BTecho

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

tearsoftragedy:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
tearsoftragedy,

It would really be great if you can tell use what the answer to the problem was. That is if you have found the correct answer since then.

Thanks.
Avatar of tearsoftragedy

ASKER

Im very very sorry for this delay

i actually forgot this thread, anyway, the code i was using  was wrong, i had to find
some other window inside the other to get the combobox... all the stuff
your code works

thanks!
Thanks the follow up and accepting the answer, really appreciated :)