Tablet and form style for Windows 8 (desktop ver.)

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby James Bott » Sun Apr 28, 2013 4:01 pm

I wanted to remove the scrollbar of the dialogues. Because you can not delete them then I thought of greater width.

But then I did something: hide! How to hide, if Windows does not allow it?


Have you tried oDlg:oVScroll:hide() ?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Mon Apr 29, 2013 12:45 pm

James,

No running. Never mind, It's not neccesary for me.
Code: Select all  Expand view  RUN
  ACTIVATE dialog oDlg CENTER ;
                ON INIT ( oScrDlg:=  TScrDlg():New( oDlg, 1, 35, 1, 99 ),;
                msginfo("hi !"),;
                oDlg:oVScroll:hide(),;
                nil)


Regards
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Linares » Mon Apr 29, 2013 5:46 pm

Antonio,

You could disable it doing:

oDlg:oVScroll:SetRange( 0, 0 )

in order to hide it, I think there is no other way but to remove the style WS_VSCROLL from the dialog hWnd.
regards, saludos

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

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Mon Apr 29, 2013 9:20 pm

Antonio,

Thanks.

Another thing, please:

As can translate Harbour following ?
Code: Select all  Expand view  RUN

# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (((DWORD) HIWORD (wParam) & (flag)) == (flag))


So ?
Code: Select all  Expand view  RUN

# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (nand(nHIWORD(wParam,flag)) == (flag))
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Linares » Tue Apr 30, 2013 6:08 am

Antonio,

Si, se ve bien, Lo has probado ? :-)
regards, saludos

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

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Tue Apr 30, 2013 7:23 am

Antonio,

If you've tried it. I have not got what I expected. So my question was if I could be right or not.

Thanks in any case for your attention.
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Linares » Tue Apr 30, 2013 7:37 am

Antonio,

There is an error here:

(nand(nHIWORD(wParam,flag)) == (flag))

it should be:

( nand( nHIWORD( wParam ),flag ) == ( flag ) )
regards, saludos

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

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Tue Apr 30, 2013 8:50 am

Antonio,

Woowww, ok ! thanks
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Tue Apr 30, 2013 11:46 pm

I have a small improvement for DlgEndOnLostFocus (). If anyone needed it, I would publish.
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Romeo » Tue Sep 10, 2013 5:17 pm

Antonio Mart. wrote:Hi,

Calling to new Windows 8 virtual keyboard from fwh:
Code: Select all  Expand view  RUN
ShellExecute(, "open", "TabTip.Exe")


Regards



How to close from fwh the keyboard ?

tks
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby cnavarro » Sun Mar 09, 2014 10:47 pm

Antonio Mart. wrote:I have a small improvement for DlgEndOnLostFocus (). If anyone needed it, I would publish.


Antonio, puedes publicarlo?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Mart. » Fri Mar 14, 2014 3:59 pm

Carlos,

Perdona por el retraso.
Mira, hará un mes o así, Antonio Linares publicó una solución que, sin haber entrado en detalles, me pareció mucho mejor que la mia.
La solución de Linares consistía en capturar el mouse para el dialogo actual, y si el click se producia fuera de los limites del dialogo entonces se hacia cerrar. Esa funcion/ rutina tiene que estar en el foro, no se si spanish o english. Si no la encuentras, avisa, que yo la guardé como oro en paño.

Si después de todo lo anterior, sigues queriendo que publique las modificaciones, lo hago: a mandar.

Saludos
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Otto » Thu Apr 30, 2015 7:29 am

Hello,

Is there somewhere a running sample of a DIALOG which you can operate from the touch with your finger.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6336
Joined: Fri Oct 07, 2005 7:07 pm

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Antonio Linares » Thu Apr 30, 2015 7:47 pm

Otto,

Please review FWH\samples\Testmmov.prg and FWH\samples\TestMov2.prg
regards, saludos

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

Re: Tablet and form style for Windows 8 (desktop ver.)

Postby Otto » Thu Apr 30, 2015 9:05 pm

Dear Antonio,
thank you.
But I mean an example with input fields and the use of the virtual keyboard.
Thanks in advance and 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: 6336
Joined: Fri Oct 07, 2005 7:07 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: MaxP and 76 guests