[Mono-winforms-list] SendKeys

Andreia Gaita shana.ufie at gmail.com
Fri Feb 16 11:29:36 EST 2007


On 2/16/07, martin at fony.sk <martin at fony.sk> wrote:
> Hi

Hi there!

> so 1.2.3 version is here and I tried to implement SendKeys.Send() into my
> application, but it doesnt work.

Hmm, from what I see in your snippet there, looks to me like you're
mixing up toolkits. You seem to be using Gtk on your app, but then you
try and use the SendKeys method from WinForms. These are two
completely separate and unrelated gui toolkits. Invoking methods from
one toolkit for controls on another toolkit will, if you're lucky,
accomplish nothing, and if you're not, result in a nice *boom*, along
with a pretty display of fireworks.

Assuming my gtk premise is right, that you're seeing is the SendKeys
method quietly ignoring your request because there is no winforms app
running there. :p

shana


More information about the Mono-winforms-list mailing list