Solved

Third Party On Screen Keyboard, numeric only.

Posted on 2016-09-15
9
83 Views
Last Modified: 2016-09-20
Does anyone know of a Third Party on Screen Keyboard, numeric only keys with backspace and enter?
0
Comment
Question by:HLRosenberger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 41799891
Is jQuery.NumPad an option?

http://a.kabachnik.info/jquery-numpad.html
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799896
sorry.  I should have not included ASP.NET.  This is a .NET desktop app.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799910
Or what if I create my own little form which is a "keypad", and do a Sendkeys?   The problem I am running into is that Sendkeys send to the active window, so how do I click a button on my form with the form getting focus?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 48

Expert Comment

by:jpaulino
ID: 41799929
VB or C#?
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799944
VB.  I can convert C# code, if necessary.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799952
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 41799997
You just need to create a simple for for that (like this http://www.codeproject.com/Articles/267588/Creating-a-touchscreen-interface-such-as-a-numeric)

You could remove the focus and use do something like this (using RegisterHotKey):

http://www.codeproject.com/Articles/4345/NET-system-wide-hotkey-component
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41800447
I have a simple form working.  I can use SendKeys to enter data to the active window, like Wordpad or Excel or Word.   I use the code shown below to prevent the form from being "active".

However the point of creating this numeric keypad is to use it within my own app.  But it does not work, in that when I click a button on my keypad form, my app loses focus.  How can I prevent that?  See image.    



 Protected Overrides ReadOnly Property ShowWithoutActivation As Boolean
        Get
            Return True
        End Get
    End Property

    Protected Overrides ReadOnly Property CreateParams As System.Windows.Forms.CreateParams
        Get

            Const WS_EX_NOACTIVATE As Integer = &H8000000
            Dim params As CreateParams = MyBase.CreateParams
            params.ExStyle = params.ExStyle Or WS_EX_NOACTIVATE
            Return params

        End Get
    End Property  

 Private Sub Class1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

       Me.TopMost = True

    End Sub


keypad
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41806751
thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question