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
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?
ACTIVATE dialog oDlg CENTER ;
ON INIT ( oScrDlg:= TScrDlg():New( oDlg, 1, 35, 1, 99 ),;
msginfo("hi !"),;
oDlg:oVScroll:hide(),;
nil)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.
# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (((DWORD) HIWORD (wParam) & (flag)) == (flag))# define IS_POINTER_FLAG_SET_WPARAM (wParam, flag) (nand(nHIWORD(wParam,flag)) == (flag))Antonio,
Si, se ve bien, Lo has probado ? ![]()
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,
There is an error here:
(nand(nHIWORD(wParam,flag)) == (flag))
it should be:
( nand( nHIWORD( wParam ),flag ) == ( flag ) )
Antonio,
Woowww, ok ! thanks
I have a small improvement for DlgEndOnLostFocus (). If anyone needed it, I would publish.
Antonio Mart. wrote:Hi,
Calling to new Windows 8 virtual keyboard from fwh:
ShellExecute(, "open", "TabTip.Exe")
Regards
Antonio Mart. wrote:I have a small improvement for DlgEndOnLostFocus (). If anyone needed it, I would publish.
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
Hello,
Is there somewhere a running sample of a DIALOG which you can operate from the touch with your finger.
Thanks in advance
Otto
Otto,
Please review FWH\samples\Testmmov.prg and FWH\samples\TestMov2.prg
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