Page 3 of 3
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 1:59 pm
by AidTIC
Ya, con la versión HMG 3.0.46 no habia problemas con el gif me de hacia el fondo transparente. Y ahora, el mismo fuente, compilado con HMG 3.1.5 el fondo se queda Negro. Con los botones del toolbar.
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 2:30 pm
by srvet_claudio
AidTIC wrote:Ya, con la versión HMG 3.0.46 no habia problemas con el gif me de hacia el fondo transparente. Y ahora, el mismo fuente, compilado con HMG 3.1.5 el fondo se queda Negro. Con los botones del toolbar.
Cambia en el archivo: c:\hmg.3.1.5\source\c_toolbar.c en a linea 294 la original:
if (himage==NULL) // ScaleStretch, Transparent, BackgroundColor, AdjustImage, TransparentColor
himage = (HWND) HMG_LoadPicture( (TCHAR*)HMG_parc(2) , hb_parni(11) , hb_parni(12) , (HWND) hwndTB , 0 , 0 , -1, 0, -1 ) ;
por:
if (himage==NULL) // ScaleStretch, Transparent, BackgroundColor, AdjustImage, TransparentColor
himage = (HWND) HMG_LoadPicture( (TCHAR*)HMG_parc(2) , hb_parni(11) , hb_parni(12) , (HWND) hwndTB , 0 , 1 , -1, 0, -1 ) ;
y volver a recrear la lib (BuildAllLib.bat)
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 4:37 pm
by esgici
srvet_claudio wrote:
Cambia en el archivo: c:\hmg.3.1.5\source\c_toolbar.c en a linea 294 la original:
...
por:
...
y volver a recrear la lib (BuildAllLib.bat)
Hola Dr.
Is this a patch
Saludos
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 5:14 pm
by srvet_claudio
esgici wrote:
Is this a patch
Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMP
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 9:55 pm
by AidTIC
Perfecto, he cambiado el o por el uno como me habeis indicado, y perfecto.
Muchisimas gracias.
Ahora otro detalle, al ejecutar BuildAllLib.bat, he observado el siguente warning,
Compiling 'source\h_windows.prg'...
Lines 19656, Functions/Procedures 117
Generating C source output to 'C:\Users\Martin\AppData\Local\Temp\hbmk_2wbv9w.di
r\h_windows.c'... Done.
../../../../../../hmg.3.1.5/source/c_grid.c: In function 'HB_FUN_LISTVIEW_GETSUB
ITEMRECT':
../../../../../../hmg.3.1.5/source/c_grid.c:502:2: warning: the address of 'Rect
' will always evaluate as 'true' [-Waddress]
../../../../../../hmg.3.1.5/source/c_grid.c: In function 'HB_FUN_LISTVIEW_GETITE
MRECT':
../../../../../../hmg.3.1.5/source/c_grid.c:518:2: warning: the address of 'Rect
' will always evaluate as 'true' [-Waddress]
Harbour 3.2.0dev (r1307180024)
Copyright (c) 1999-2013, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
Compiling 'h_crypt.prg'...
Lines 649, Functions/Procedures 8
Generating C source output to 'C:\Users\Martin\AppData\Local\Temp\hbmk_tm4w22.di
r\h_crypt.c'... Done.
no se si afecta ha algo.
Saludos y mil gracias.
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 10:41 pm
by srvet_claudio
AidTIC wrote:Ahora otro detalle, al ejecutar BuildAllLib.bat, he observado el siguente warning,
Compiling 'source\h_windows.prg'...
Lines 19656, Functions/Procedures 117
Generating C source output to 'C:\Users\Martin\AppData\Local\Temp\hbmk_2wbv9w.di
r\h_windows.c'... Done.
../../../../../../hmg.3.1.5/source/c_grid.c: In function 'HB_FUN_LISTVIEW_GETSUB
ITEMRECT':
../../../../../../hmg.3.1.5/source/c_grid.c:502:2: warning: the address of 'Rect
' will always evaluate as 'true' [-Waddress]
../../../../../../hmg.3.1.5/source/c_grid.c: In function 'HB_FUN_LISTVIEW_GETITE
MRECT':
../../../../../../hmg.3.1.5/source/c_grid.c:518:2: warning: the address of 'Rect
' will always evaluate as 'true' [-Waddress]
Estas advertencias son "normales" no afectan en nada.
Re: Variables Vacias * * URGE * *
Posted: Mon Nov 04, 2013 10:56 pm
by esgici
srvet_claudio wrote:esgici wrote:
Is this a patch
Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMP
Does will be added in next release
Saludos
Re: Variables Vacias * * URGE * *
Posted: Tue Nov 05, 2013 2:06 pm
by srvet_claudio
esgici wrote:srvet_claudio wrote:esgici wrote:
Is this a patch
Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMP
Does will be added in next release
Saludos
Yes, I'm working on it.
Re: Variables Vacias * * URGE * *
Posted: Wed Nov 06, 2013 10:15 pm
by AidTIC
una pregunta, que editor para DBF/cdx me recomendáis de 64 Bits??? Estaba gastando el PROMETHEUS 2000, pero no funciona en 64 Bits.
Gracias.