terebi
Aug 29th, 2000, 05:29 PM
Hi,
I was wondering if anybody knows how to retrieve text from a textbox that is not in my process.
I am able to get the hwnd and CtrlID but are unable to retrieve the text. I thought maybe a sendmessage passing WM_GETTEXT would work, but unfortunately, it so happens that, windows require I pass a pointer to a string, as its lparam, or was it wparam???
When I tried using just a string, I got a kernell32 error, crashing VB.
I was wondering if anybody knows how to retrieve text from a textbox that is not in my process.
I am able to get the hwnd and CtrlID but are unable to retrieve the text. I thought maybe a sendmessage passing WM_GETTEXT would work, but unfortunately, it so happens that, windows require I pass a pointer to a string, as its lparam, or was it wparam???
When I tried using just a string, I got a kernell32 error, crashing VB.