|
-
March 28th, 1999, 10:02 PM
#1
Always NULL in EditBox by SPY++
Hi, all.
I need to get the string from EditBox of the other application.
After I get the window handle of EditBox on the other app,
I couldn't get the string by GetWidnowText() or replace it by SetWindowText().
After I checked SPY++, EditBox is always empty even though the string
exists in Editbox.
After all, I made the EditBox on my app, I get the same string by GetWindowText
because I copy and paste the string from other app to my app.
Even though I got my goal, this is a little frustrated to me.
Does anyone know smarter soultion of this?
Thank you in advance.
-Masaaki Onishi-
-
November 3rd, 1999, 05:02 AM
#2
Re: Always NULL in EditBox by SPY++
It should help
char cz[255];
memset(cz, 0, sizeof(cz));
::SendMessage((HWND)0x???<SpyIt>, WM_GETTEXT, (WPARAM)sizeof(cz), (LPARAM)cz);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|