|
-
Jun 6th, 2001, 09:37 PM
#1
Thread Starter
Fanatic Member
SendMessage
I am trying to use SendMessage(hwnd, EM_STREAMOUT, SF_RTF, EditStream)
EditStream is a structure defined as
typedef struct _editstream {
DWORD_PTR dwCookie;
DWORD dwError;
EDITSTREAMCALLBACK pfnCallback;
} EDITSTREAM;
I'm trying to recreate this in VB6, but I don't know how to store the pointer of a function in a variable (do I use AddressOf, like one does with API enumerations?).
I'm assuming that this will work with the textbox in an AIM message window.
For those interested, I am creating a program that reads the text in AIM windows, and stops their infernal blinking. I might also include a spellchecker. Basically, it will control AIM so you can selectively send fake away messages to people you don't want to talk to, without blocking them, and stuff like that. However, I can't use the GetText API because it has a limit of 64k. I need to figure out how to use the above function to do it...
Thanks in advance,
Victor
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
|