gotenks007
02-03-2001, 11:06 AM
i am trying to send a message to a text box, send a message to a combobox and then execute a command, i think i found the handle of all 3 but what do i do now? i am new to all this api stuff and i am getting a headache!!!! Please help
Derek Stone
02-03-2001, 07:55 PM
Once you know the handle you shouldn't have any problem.
Example:
SendMessage Handle, WM_SETTEXT, 0, ByVal "This is the text that will be sent"
This will set the text of the textbox equal to whatever you sent.
There are numerous messages you can send so be more specific as to what message your sending.
Good Luck
-cl
<a href="http://vb.wsoftware.net" target="_new">http://vb.wsoftware.net</a>
gotenks007
02-04-2001, 10:57 AM
what about the combo box and the command i need to execute? i need to send text to an aol instant messenger window, i need to send text to the combo box that says who its too and i need to execute the send icon. plus how do i open a blank window?
Derek Stone
02-04-2001, 03:32 PM
Use the same code for the ComboBox.
I can't think of a solution to your AOLIM problems off the top of my head.
Good Luck
-cl
<a href="http://vb.wsoftware.net" target="_new">http://vb.wsoftware.net</a>