From: Carlos d. M. <cg...@wo...> - 2002-10-19 09:59:17
|
You have to GetWindowText(GetDlgItem(hwnd, IDOFTHECHILD), lpstring, nmaxcount);. or GetDlgItemText(hwnd, IDOFTHECHILD, lpstring, nmaxcount); Lorne Easton escribi=F3: > Hi All, > > What api calls would you use to get the text of a window? Is there a wa= y to > do this.. In this case I am defining a hotkey, and when the message is = sent > I will get the text of the foreground window (or perhaps one of it's > children). In this case the text of an e-mail in an outlook message win= dow. > GetWindowText() seems only to get the title of the window or control. I= s > there a message that can be sent to get the contents of the window (as > text)? > > Thanks in advance for your help. > > Regards, > Lorne > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users |