|
From: Maurizio la C. <m.l...@gm...> - 2013-07-24 10:00:04
|
Hi Alex,
thanks for the last improvements in HWGui.
I was busy and I couldn't quickly test most of last changes. Now I'm
trying to rebuild
Currently most of things are running smoother but I noticed two wrong
behaviour, at least not more working as in 2.17:
* the images on the hbuttonex aren't displayed (I reported the same
issue some time ago and you verified that the problem exists);
* the WM_SYSKEYUP and WM_SYSKEYDOWN messages aren't more trapped and
are routed to the dialog window, so any attempt to intercept some of
these keys (F10, i.e.) don't succeed; this worked fine in 2.17.
In addition, what do you think about to add the objName data also to the
hwg_extctrl classes?
TIA.
BR
Maurizio
|
|
From: Alexander S.K. <al...@be...> - 2013-07-24 11:48:17
|
Maurizio la Cecilia ?????: > > * the images on the hbuttonex aren't displayed (I reported the same > issue some time ago and you verified that the problem exists); Yes, I remember. In fact, it behaves as in 2.17 - if you switch off the HWG_USE_POINTER_ITEM, it will work. I hoped that anyone, interested in these controls, will investigate the problem, but it seems that it's me who'll have to do this :). > * the WM_SYSKEYUP and WM_SYSKEYDOWN messages aren't more trapped and > are routed to the dialog window, so any attempt to intercept some > of these keys (F10, i.e.) don't succeed; this worked fine in 2.17. I don't know about this issue. Could you provide a short sample, which worked before and doesn't work now ? > > In addition, what do you think about to add the objName data also to the > hwg_extctrl classes? > No problem. This data exist there already, since they derived from HControl. It's just needed to modify the #xcommand @ <x>,<y> BUTTONEX in hwg_extctrl.ch Regards, Alexander. |
|
From: Maurizio la C. <m.l...@gm...> - 2013-07-24 15:14:47
|
Hi Alex,
Il 24/07/2013 13:48, Alexander S.Kresin ha scritto:
> Maurizio la Cecilia ?????:
Yes, I'm.
>> * the images on the hbuttonex aren't displayed (I reported the same
>> issue some time ago and you verified that the problem exists);
> Yes, I remember. In fact, it behaves as in 2.17 - if you switch off
> the HWG_USE_POINTER_ITEM, it will work. I hoped that anyone, interested
> in these controls, will investigate the problem, but it seems that it's
> me who'll have to do this :).
Sure you'll resolve quicker than me...
>> * the WM_SYSKEYUP and WM_SYSKEYDOWN messages aren't more trapped and
>> are routed to the dialog window, so any attempt to intercept some
>> of these keys (F10, i.e.) don't succeed; this worked fine in 2.17.
> I don't know about this issue. Could you provide a short sample, which
> worked before and doesn't work now ?
Here is it:
#include "hwgui.ch"
local oDlg
local bBlock := {|| hwg_msgInfo( "Works!!!", "OK if done via button" ) }
INIT DIALOG oDlg TITLE "hwg_SetDlgKey() sample" ;
AT 190,10 SIZE 360,240
@ 10, 50 SAY "Press F10 to test the system key" SIZE 220, 20
@ 20, 190 BUTTON "Ok" SIZE 130, 32;
ON CLICK bBlock
hwg_SetDlgKey( oDlg, 0, 121, bBlock )
oDlg:Activate()
>> In addition, what do you think about to add the objName data also to the
>> hwg_extctrl classes?
>>
> No problem. This data exist there already, since they derived from
> HControl. It's just needed to modify the #xcommand @ <x>,<y> BUTTONEX in
> hwg_extctrl.ch
Thanks for your commit. You're too quick for my current working speed...
>
> Regards, Alexander.
BR
**Maurizio (la Cecilia)
*//*
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
>
>
|
|
From: Alexander S.K. <al...@be...> - 2013-07-25 07:11:24
|
Hi,
the problems with hbuttonex are fixed.
> Here is it:
>
> #include "hwgui.ch"
>
> local oDlg
> local bBlock := {|| hwg_msgInfo( "Works!!!", "OK if done via button" ) }
>
> INIT DIALOG oDlg TITLE "hwg_SetDlgKey() sample" ;
> AT 190,10 SIZE 360,240
>
> @ 10, 50 SAY "Press F10 to test the system key" SIZE 220, 20
>
> @ 20, 190 BUTTON "Ok" SIZE 130, 32;
> ON CLICK bBlock
>
> hwg_SetDlgKey( oDlg, 0, 121, bBlock )
>
> oDlg:Activate()
>
This sample doesn't work in 2.17, too.
Regards, Alexander.
|
|
From: Maurizio la C. <m.l...@gm...> - 2013-07-25 16:48:56
|
Hi Alex,
Il 25/07/2013 09:11, Alexander S.Kresin ha scritto:
> Hi,
>
> the problems with hbuttonex are fixed.
Yes. I confirm. Many thanks.
>> Here is it:
>>
>> #include "hwgui.ch"
>>
>> local oDlg
>> local bBlock := {|| hwg_msgInfo( "Works!!!", "OK if done via button" ) }
>>
>> INIT DIALOG oDlg TITLE "hwg_SetDlgKey() sample" ;
>> AT 190,10 SIZE 360,240
>>
>> @ 10, 50 SAY "Press F10 to test the system key" SIZE 220, 20
>>
>> @ 20, 190 BUTTON "Ok" SIZE 130, 32;
>> ON CLICK bBlock
>>
>> hwg_SetDlgKey( oDlg, 0, 121, bBlock )
>>
>> oDlg:Activate()
>>
> This sample doesn't work in 2.17, too.
You're right. I just rebuilt my app with 2.17 and doesn't work, but more
than two years ago (before I stopped to develop with hwgui) was working
fine, so some change between 2.16 and 2.17 should break the system keys
management.
I'm seeking the involved code, but I'm lost: I don't remember more what
version I used to compile the working app...
Better to inspect the code and try to patch it.
BR
Maurizio
> Regards, Alexander.
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
>
>
|
|
From: Alexander S.K. <al...@be...> - 2013-07-26 11:29:25
|
Maurizio la Cecilia writes: >> This sample doesn't work in 2.17, too. > You're right. I just rebuilt my app with 2.17 and doesn't work, but more > than two years ago (before I stopped to develop with hwgui) was working > fine, so some change between 2.16 and 2.17 should break the system keys > management. > I'm seeking the involved code, but I'm lost: I don't remember more what > version I used to compile the working app... > Better to inspect the code and try to patch it. I don't know how it worked before, but now it really should work. Regards, Alexander. |