|
From: Maurizio la C. <m.l...@gm...> - 2013-06-19 14:05:09
|
Hi Alex,
Il 19/06/2013 08:56, Alexander S.Kresin ha scritto:
> Itamar M. Lins Jr. Lins writes:
>> The GET with VALID clausule not work.
>>
>> This simple PRG demonstre the problem.
>>
> Fixed, see the latest Changelog.
> But I can't promise that all problems, related to using of
> HWG_USE_POINTER_ITEM are fixed and cleaned, because current SVN code is
> messy and a problem may appear in any place.
I confirm that as soon as I leave HWG_USE_POINTER_ITEM in hbmk2 scripts,
the gets stop working and the buttons don't display the icons.
Striping out the directive all returns working fine, without any change
to my sources.
Any hint about what's causing this behaviour?
I read about the need to compare with Empty() values and not with 0, but
a quick look to my sources don't shows this case.
In my apps all the icons on buttons are built with:
@ c_col, c_row BUTTONEX &cButName CAPTION button[ 2 ] ;
SIZE ( 4 + Len( button[ 2 ] ) ) * oApp:pxl_x, oApp:pxl_y ;
ICON HIcon():AddResource( "VB" + button[ 1 ], oApp:pxl_y ,
oApp:pxl_y ):handle ;
COLOR 0 ;
ON CLICK b_click STYLE WS_TABSTOP
So, I don't see where is the culprit.
TIA
Maurizio
>
> Regards, Alexander.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
>
>
|