Kindly assist

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am working on a small which involves a touchscreen and I need to create a
on-screen keyboard. I need some assistance with a few questions

1. For the the buttons, do I user their text as the value, that is, when the
user presses e.g "A" do I use the button text as the value to work with or
Key.ASCII?

2. While the user is pressing the buttons how should I accumulate the values
to be displayed on the text box e.g the user presses "A" and then "B" do i use

txtScreen.Text = Abutton.Text
txtScreen.Text = textScreen.Text & Bbutton.Text

3. How should I handle the backspace?

4. When the user presses the "ENTER" button I need to pass the value from
txtScreen to a textbox in another application. Where can I find information
on passing values to another running application?

5. In the other application the user presses "F10" to print an invoice, how
can I detect when that print is send so that my keyboard application can
return as the active screen? I was thinking of listening for the "F10"
keypress, however, there are times whe the data sent to the invoicing
application is incorrect so when the user clicks the "F10" button he can also
get a message "Incorrect account ...".

Your help is appreciated.

Thanks
 
I researched our sites and found this url:
http://msdn2.microsoft.com/en-us/library/ms717415.aspx. I hope it helps.
--------------------
Thread-Topic: Kindly assist
thread-index: AccXY21QfYqztTgHReSLfAEC5Amw+A==
X-WBNR-Posting-Host: 24.193.85.85
From: =?Utf-8?B?Q2hyaXM=?= <[email protected]>
Subject: Kindly assist
Date: Sun, 3 Dec 2006 21:17:00 -0800
Lines: 30
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
Newsgroups: microsoft.public.dotnet.general
Path: TK2MSFTNGHUB02.phx.gbl
Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.dotnet.general:442
NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
X-Tomcat-NG: microsoft.public.dotnet.general

Hi,
I am working on a small which involves a touchscreen and I need to create a
on-screen keyboard. I need some assistance with a few questions

1. For the the buttons, do I user their text as the value, that is, when the
user presses e.g "A" do I use the button text as the value to work with or
Key.ASCII?

2. While the user is pressing the buttons how should I accumulate the values
to be displayed on the text box e.g the user presses "A" and then "B" do i use

txtScreen.Text = Abutton.Text
txtScreen.Text = textScreen.Text & Bbutton.Text

3. How should I handle the backspace?

4. When the user presses the "ENTER" button I need to pass the value from
txtScreen to a textbox in another application. Where can I find information
on passing values to another running application?

5. In the other application the user presses "F10" to print an invoice, how
can I detect when that print is send so that my keyboard application can
return as the active screen? I was thinking of listening for the "F10"
keypress, however, there are times whe the data sent to the invoicing
application is incorrect so when the user clicks the "F10" button he can also
get a message "Incorrect account ...".

Your help is appreciated.

Thanks

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0
MS Sans Serif;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 Cheers,\par
\par
johnKn [MS-SDK]\par
\par
\par
\par
-Please do not send email directly to this alias. This alias is for \par
newsgroup purposes only\par
\par
-This posting is provided "AS IS" with no warranties, and confers no
rights.\par
\par
-To provide additional feedback about your community experience please send
\par
e-mail to: (e-mail address removed)\par
\f1\par
}
 
Back
Top