gandapanda
Programmer
I want to get the text from the edit box of IBM Viavoice. I want to transfer the text from ViaVoice to C++. I tried using the following code but i receive errors:
CWnd* pWnd = GetOtherAppWindow();
TCHAR buf[512];
pWnd->SendMessage(WM_GETTEXT,sizeof(buf)/sizeof(TCHAR),
(LPARAM)(void*)buf);
I dont quite understand what the top line does in this code. Anyone with windows programming experience, please help!
CWnd* pWnd = GetOtherAppWindow();
TCHAR buf[512];
pWnd->SendMessage(WM_GETTEXT,sizeof(buf)/sizeof(TCHAR),
(LPARAM)(void*)buf);
I dont quite understand what the top line does in this code. Anyone with windows programming experience, please help!