Tim
Mon Jul 18 11:23:52 CDT 2005
I'm not exactly sure why this is, but I can see this behavior as well. This
could be something simple that is being overlooked. But the following code
should send a period to the focused control...
OpenNETCF.Win32.Core.SendKeyboardString(".");
The difference between that the SendKeys.Send implementation and the
Core.SendKeyboardString implementation use different underlying API calls.
I'm not sure how relevant this is to the issue but it is an apparent
difference.
--
Tim Wilson
.Net Compact Framework MVP
"ACE123" <ACE123@discussions.microsoft.com> wrote in message
news:50EA1162-1520-431A-BA35-9235E93CFD26@microsoft.com...
> Tim it that seems to work great. Just have one more question. How do I
send
> a period using sendkeys? I tried sendkeys.send(".") and
sendkeys.send("{.}"),
> neither of these worked. Any help is greatly appreciated.
>
> "Tim Wilson" wrote:
>
> > There's an implementation of the SendKeys class in the SDF...
> >
http://www.opennetcf.org/SDF
> >
> > Or if you think that it would be too heavy to install the entire
framework
> > then you may consider lifting the code from here (the username and
password
> > are both "guest")...
> >
http://vault.netcf.tv/VaultService/VaultWeb/Blame.aspx?repid=2&path=%24%2fSDF%2fOpenNETCF.Windows.Forms%2fSendKeys.cs&version=2&includedversions=20
> >
> > --
> > Tim Wilson
> > ..Net Compact Framework MVP
> >
> > "ACE123" <ACE123@discussions.microsoft.com> wrote in message
> > news:B05BF694-8FB4-452C-873B-07FF8D199DF2@microsoft.com...
> > > I have 11 buttons on my form. Buttons 0 through 9, backspace and
period
> > > (Looks like a calculator). When I click these buttons, I want to send
> > that
> > > key like you were pressing it on the keyboard. I was going to use
> > > sendkeys.send but that isn't supported in the compact framework. I am
> > > looking for something similar to sendkeys.send. Does anyone know how
I
> > can
> > > do this?
> >
> >
> >