|
-
Mar 6th, 2001, 07:23 AM
#1
Can anyone post or link to a demonstration of the EM_GETHANDLE and EM_SETHANDLE? I am trying to read the memory address of a text box's buffer, and can't seem to do it. I am aware that sethandle is supposed to use wparam to pass the memory handle.
This is the code i used:
MsgBox SendMessage(rtHwnd, EM_GETHANDLE, wp, lp)
Debug.Print wp; lp
where rthwnd is text1.hwnd.
the debug.print returns two zeros.
the msgbox shows a zero, indicating failure.
i have the declaration of em_gethandle like this:
Const EM_GETHANDLE = &HBD
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
|