Okay. So I have most of my app going good.
-I have the gui looking sharp,
-I have it load and save some files from hard disk, not too bad.
-I have it fill in my 2 listboxes with the open rooms, and the names from the selected room.
-I can get 3 handles, the room, the text entry, and the send button.
Now my next step seems should be easy. Maybe?
I want to send text to the room. I managed to get it to send the basic hello world.
Okay. so here is some code.
- Code: Select all
sendToRoom(rmHandle, rtbTest.Text)
Function sendToRoom(ByVal rmHandle As IntPtr, ByVal txt As String)
Dim rtbHandle As IntPtr
rtbHandle = getVoiceRoomRTBHandle(rmHandle)
SendMessage(rtbHandle, WM_SETTEXT, 0, txt)
Call clickSendButtonHandle(rmHandle)
End Function
So right now, my questions are:
-If I call the sendToRoom function (oops, it should be a sub, huh?) twice in a row, it only sends once. What is the best way to get the program to 'wait' until it's ready to send a second time?
-How to send multicolored text? I don't want to get detailed with this. But how to send [red] Hello [blue] World!?
Thanks tons for any




