FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tablet and form style for Windows 8 (desktop ver.)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Sun Apr 28, 2013 04: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:hide() ?

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Mon Apr 29, 2013 12:45 PM
James,

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


Regards
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Mon Apr 29, 2013 05: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
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Mon Apr 29, 2013 09:20 PM
Antonio,

Thanks.

Another thing, please:

As can translate Harbour following ?
Code (fw): Select all Collapse
# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (((DWORD) HIWORD (wParam) & (flag)) == (flag))


So ?
Code (fw): Select all Collapse
# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (nand(nHIWORD(wParam,flag)) == (flag))
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Apr 30, 2013 06:08 AM

Antonio,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Apr 30, 2013 07: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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Apr 30, 2013 07: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
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Apr 30, 2013 08:50 AM

Antonio,

Woowww, ok ! thanks

Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Apr 30, 2013 11:46 PM

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

Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Tue Sep 10, 2013 05:17 PM
Antonio Mart. wrote:Hi,

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


Regards



How to close from fwh the keyboard ?

tks
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: 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
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Fri Mar 14, 2014 03: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

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Thu Apr 30, 2015 07: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Thu Apr 30, 2015 07:47 PM

Otto,

Please review FWH\samples\Testmmov.prg and FWH\samples\TestMov2.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Tablet and form style for Windows 8 (desktop ver.)
Posted: Thu Apr 30, 2015 09: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