RedDot Nickname In PalTalk Room

I’m using the postmessage command to reddot a user

    Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As String) As Integer


PostMessage(FindWindow(ChatRoomClass, Me.CtrlRoomSelector1.RoomName), WM_COMMAND, RedDotCommand, 0)


is it right or should I use SendMessage instead of postmessage

and what would be the code

2 thoughts on “RedDot Nickname In PalTalk Room

  1. The difference between PostMessage and SendMessage is that PostMessage just place the message in the windows thread queue and resturn immediately, and sendMessage blocks (the calling thread) untill the message has been processed.

    If you intend to, or might, select another nick right after sending the message you need to use SendMessage to make sure it has been processed by paltalk, otherwise you can use PostMessage.

Leave a Reply

You must Register or Login to comment on RedDot Nickname In PalTalk Room