Input Panel Gesture

Input Panel Gesture

Postby Bayron » Tue Feb 02, 2010 1: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Input Panel Gesture

Postby Bayron » 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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Bayron » 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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Antonio Linares » Wed Feb 03, 2010 12:42 am

Bayron,

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

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Input Panel Gesture

Postby Bayron » 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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Bayron » Wed Feb 03, 2010 2: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Bayron » Mon Feb 15, 2010 5: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Otto » Mon Feb 15, 2010 9: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


Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Input Panel Gesture

Postby Bayron » Mon Feb 15, 2010 9: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Input Panel Gesture

Postby Bayron » 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

Image
Last edited by Bayron on Wed Apr 28, 2010 3:48 pm, edited 2 times in total.
=====>

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

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Input Panel Gesture

Postby Bayron » 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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Input Panel Gesture

Postby Bayron » Tue Feb 16, 2010 3:14 am

Utilizando la Funcion WinExec("Tabtip") , Ya llegue a esto,

Image

Ahora, alguien sabe como puedo hacer para terminar la ejecucion del TabTip.exe
Last edited by Bayron on Wed Apr 28, 2010 3:48 pm, edited 2 times in total.
=====>

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

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 96 guests