FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Input Panel Gesture
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Input Panel Gesture
Posted: Tue Feb 02, 2010 01:59 AM
Hola a todos, habra alguna forma de implementar esta funcion en FiveWinH 9.12

Intento un llamado al teclado virtual en una pantalla tactil

http://msdn.microsoft.com/en-us/library/ms704887(VS.85).aspx

using Microsoft.Ink;

// ...

private PenInputPanel theInputPanel;

// ...

private void Form1_Load(object sender, System.EventArgs e)
{
// Aderir Input Panel a un control TextBox specifico.
theInputPanel = new PenInputPanel(textBox1);

// Desactivar el Input Panel para el TextBox.
theInputPanel.AutoShow = false;
}

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Input Panel Gesture
Posted: Tue Feb 02, 2010 11:29 AM

Bayron,

Si lo que necesitas es capturar la firma de un cliente, entonces tienes un ejemplo completo en:

FWH\samples\signatur.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Wed Feb 03, 2010 12:25 AM

Gracias, voy a chequear, pero mi intension es abrir automaticamente el teclado virtual debajo de un Get, para poder ingresar informacion en un monitor tactil...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Wed Feb 03, 2010 12:36 AM

Encontre un ejemplo en keybsim.prg de un teclado virtual, mi computadora de desarrollo se me ha estropeado, nada mas por estar jugando un poquito con el registro de windows, alguien tiene alguna imagen de como se ve este teclado????

El que tiene windows vista es muy vistoso....

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Input Panel Gesture
Posted: Wed Feb 03, 2010 12:42 AM
Bayron,

Es un buen ejemplo de FWH y funciona bien :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Wed Feb 03, 2010 12:51 AM

Gracias Antonio, se ve muy bien, pero tiene el look de windows clasico, a mi me gustaria el look de windows vista, al tener una pantalla tactil, el teclado virtual de windows se activa y se accede al darle un doble tap en un get, no puedo colocar un ejemplo porque mi otra computador se ha estropeado...

Lo que yo pretendo es evitar tener que darle el doble tap, y que se active automaticamente...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Wed Feb 03, 2010 02:27 AM

Antonio, con este ejemplo seria muy facil implementar un teclado virtual, de cualquier manera, por medio de codigo tendria que desactivar el teclado virtual de windows y volverlo a activar al salir de mi aplicacion, para evitar el tener dos teclados virtuales, lo que me devuelve al principio, ya que necesitaria las funciones que encontre en msdn y que propuse al principio....

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Mon Feb 15, 2010 05:29 AM

Cuando se utiliza un Monitor Tactil con Windows XP o Windows Vista, se activa el teclado virtual del Tablet PC, el cual se activa al dar un doble tap en cualquier get, Yo lo que pretendo es invocar este teclado automaticamente sin tener que dar el doble tap en el get, y si es posible, posionarlo en el area que yo desee....

Alguien tiene alguna informacion de como hacer esto????

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Input Panel Gesture
Posted: Mon Feb 15, 2010 09:09 PM
Hello Bayron,
>tiene el look de windows clasico, a mi me gustaria el look de windows vista

I use Mr. Manuel's TSButton class for my keyboard.
Mr. Manuel thank you so much for this wonderful class.
Best regards,
Otto


Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Mon Feb 15, 2010 09:50 PM

Hi Mr Otto,

I am thinking on doing the same, but the problem is still the same, I have to disable the keyboard from windows...

I found this:

You can set a registry entry to disable Input Panel for your entire application. However, this will also disable it for common dialog boxes such as the File Open dialog box, the Print dialog box, and the File Save dialog box. This may make the user experience in your application inconsistent with other Tablet PC applications.

[HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft\WindowsNT\TabletTIP\DisableInPlace]"C:\Progam Files\My App\MyApp.exe"=dword:00000000

I will try to research some information on writing to the register in this forum, but it looks like the best bet for mi now....

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Input Panel Gesture
Posted: Mon Feb 15, 2010 10:03 PM

Hello Mr. Bayron,
are you referring to FWPPC or to FWH.
For what kind of application do you need the keyboard input?

Could you post a screenshot?
Best regards,
Otto

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Tue Feb 16, 2010 12:11 AM
Hi Mr Otto,
I use FWH 10.1,
Windows Vista Ultimate

The input panel will only be active if a TouchScreen is connected to the computer....

My main computer is down, and I won't be able to fix it until I find my windows Installation DVD, but I captured the windows Input Panel

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Input Panel Gesture
Posted: Tue Feb 16, 2010 12:43 AM

Hello Mr. Bayron,
I see. Does Tabtip.exe start automatically if you connect a touch screen?
Maybe you can delete tabtip.exe on the kiosk PC?
Best regards,
Otto

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Tue Feb 16, 2010 12:56 AM

Yes, it does...

Deleting this file is not an option, since it will be needed to use the other software existing in the computer...
But now I will try to prevent it from running somehow...

Thank you, I will keep exploring this option then, I do not want to be playing with Windows Register unnecesarily, that is why I messed up my main computer to begin with....

Since Windows has its own keyboard, I will use it.

Thanks againg...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Input Panel Gesture
Posted: Tue Feb 16, 2010 03:14 AM
Utilizando la Funcion WinExec("Tabtip") , Ya llegue a esto,



Ahora, alguien sabe como puedo hacer para terminar la ejecucion del TabTip.exe

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...