What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB

VB
Author: Message:
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: VB
quote:
Originally posted by traxor
becuase there is no event to when someone writes in the conversation window. the way to do it would be to put it on a timer


you will need to understand findwindow and window classes functions.

something like this might work

code:
Public Sub SendMessage(thetext As String)
Dim imclass As Long, leet As Long
imclass = FindWindow("imwindowclass", vbNullString)
leet = FindWindowEx(imclass, 0&, "richedit20a", vbNullString)
leet = FindWindowEx(imclass, richedita, "richedit20a", vbNullString)
Call SendMessageByString(leet, WM_SETTEXT, 0&, thetext)
Call clicksend
End Sub

Public Sub clicksend()
Dim imclass As Long, Button As Long
imclass = FindWindow("IMWindowclass", vbNullString)
Button = FindWindowEx(imclass, 0&, "button", vbNullString)
Call SendMessageLong(Button, WM_KEYDOWN, VK_SPACE, 0&)
Call SendMessageLong(Button, WM_KEYUP, VK_SPACE, 0&)
End Sub

courtesy of stigmata's coding tips on his upcoming site.. www.plasticangels.com
errr no :cheesy: msn6 uses windowless controls
09-26-2004 10:57 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB - by The_IRS on 09-26-2004 at 01:50 AM
RE: VB - by Mike on 09-26-2004 at 05:05 AM
RE: VB - by CookieRevised on 09-26-2004 at 05:35 AM
RE: VB - by The_IRS on 09-26-2004 at 06:31 AM
RE: VB - by user27089 on 09-26-2004 at 08:54 AM
RE: VB - by Millenium_edition on 09-26-2004 at 10:57 AM
RE: VB - by The_IRS on 10-25-2004 at 03:59 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On