> On 1/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> >> -----Original Message----- >> >> From: [EMAIL PROTECTED] [mailto:mono- >> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] >> Sent: miƩrcoles, 31 de enero de 2007 9:53 >> >> To: [email protected] >> >> Subject: [Mono-winforms-list] SendKeys >> >> >> >> Hi, >> >> >> >> I am building an application with virtual keyboard, using >> touchscreen. I >> >> need to send (simulate) a key event when I press button. In windows >> .NET, >> >> there's a method called System.Windows.Forms.SendKeys.Send(), which >> simply >> >> does this thing. But in Mono, compiling results in "The requested >> feature >> >> is not implemented." >> >> >> >> Is there any other way to make this work? Does anybody knows, when >> will be >> >> this method implemented in Mono? >> > >> > SendKeys is already implemented (though not a long time ago), so which >> version of mono are you using? >> > >> > Rolf >> > >> >> I am using mono-core-1.2.2.1-0.novell >> " rpm -qa | grep mono-core* " >> I downloaded RPMs for Fedora 5, added them to yum repository and >> installed. >> >> Is SendKeys.Send() method ready for Fedora 5? > > I believe SendKeys is new to Mono 1.2.3, which has not quite been > released yet (there are preview releases available for download, > though). See the draft of the release notes: > > http://go-mono.com/archive/1.2.3/ > > Best, > Sandy >
Thanks Sandy, I though so. For Rolf: Monodevelep knows SendKeys.Send() method after adding System.Windows.Forms.dll to references, everything seems ok, there are no errors or warnings after compilation, but when application starts and I call that method (by pressing a button), application crashes with "The requested feature is not implemented" and other error messages. It seems like the method is implemented, but it is not. There is also a bug-report: http://lists.ximian.com/pipermail/mono-bugs/2006-November/050592.html I hope the function will be soon implemented, because I cant find other way to make virtual keyboard work, I started programming in C# recently. I tried to start external application xsendkey to send key event to my application, but it is not working fine, because in my application, there is gecko-sharp widget (mozilla window) and I cant get it focused when starting xsendkey so the text cannot by written, for example, in a form on webpage. That is a reason, why I need to send key events to my application. Thanks for information, Sandy. I hope you're right :) _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
