Help - Search - Members - Calendar
Full Version: Skype Chat SendMessage Textbox ?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
ntrn0
I'm developing some sort of translator app, and i've met sudden problem.
Is there any way to send some text to this textbox ? (It's actualy named "TRichViewEdit")
IPB Image
IPB Image

I tried to use WinAPI WM_SETTEXT with no respond at all
CODE
ApiStuff.SendMessage(hWnd, WM_SETTEXT, 0, "test");


I'm sure that hWnd is right, because i manage to get "TRichViewEdit" caption - in this case "Here it is !"

I suspect that WM_SETTEXT is blocked, but is there other way to set text to this textbox

Some sources in C# and/or using WinAPI would be very useful yes.png
TheUberOverlord
QUOTE(ntrn0 @ Thu Oct 5 2006, 10:32) [snapback]304627[/snapback]

I'm developing some sort of translator app, and i've met sudden problem.
Is there any way to send some text to this textbox ? (It's actualy named "TRichViewEdit")
IPB Image
IPB Image

I tried to use WinAPI WM_SETTEXT with no respond at all
CODE
ApiStuff.SendMessage(hWnd, WM_SETTEXT, 0, "test");


I'm sure that hWnd is right, because i manage to get "TRichViewEdit" caption - in this case "Here it is !"

I suspect that WM_SETTEXT is blocked, but is there other way to set text to this textbox

Some sources in C# and/or using WinAPI would be very useful yes.png


Not sure it is such a good idea to Tap the Skype GUI, what are you tring to do, send a message into a chat?

If so you can use the API or Skype4COM lib to do this without the need to link to the actual textbox of the Skype client.

By doing this, you could cause some grief, for example if the user was also typing in that box at the same time ;-)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.