AdvancedHMI Software

General Category => Additional Components => Topic started by: Godra on November 25, 2016, 11:11:09 AM

Title: On-Screen Keyboard Button (plus Calculator, Notepad and Paint)
Post by: Godra on November 25, 2016, 11:11:09 AM
The attached control is a button to start the Windows On-Screen Keyboard (mainly to be used with touchscreens).

No path is specified so hopefully all versions of Windows will be handling it properly (Windows 7 does).
Title: Re: On-Screen Keyboard Button (plus Calculator, Notepad and Paint)
Post by: Godra on November 26, 2016, 04:04:06 PM
The control attached in this post is expanded control from the first post.

It allows to start either of the following apps: Calculator, Notepad, On-Screen Keyboard or Paint.

The app selection is done with the right-click of the button and the selected app is started with the left click of the button. The button could be set in DesignMode to any particular app to show when the program is initially run.

As it appears, the right-clicking on touchscreens should be performed by lightly pressing - then holding - then releasing the button to see the menu.

You can see the pattern in the code so add or remove whatever app, as needed.