Variables Vacias * * URGE * *
Moderator: Rathinagiri
Re: Variables Vacias * * URGE * *
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.
Skydone Solutions
www.skydone.com
www.skydone.com
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Variables Vacias * * URGE * *
Cambia en el archivo: c:\hmg.3.1.5\source\c_toolbar.c en a linea 294 la original: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.
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)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Variables Vacias * * URGE * *
Hola Dr.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)
Is this a patch


Saludos
Viva INTERNATIONAL HMG 

- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Variables Vacias * * URGE * *
Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMPesgici wrote: Is this a patch![]()
![]()
Re: Variables Vacias * * URGE * *
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.
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.
Skydone Solutions
www.skydone.com
www.skydone.com
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Variables Vacias * * URGE * *
Estas advertencias son "normales" no afectan en nada.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]
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Variables Vacias * * URGE * *
Does will be added in next releasesrvet_claudio wrote:Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMPesgici wrote: Is this a patch![]()
![]()

Saludos
Viva INTERNATIONAL HMG 

- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Variables Vacias * * URGE * *
Yes, I'm working on it.esgici wrote:Does will be added in next releasesrvet_claudio wrote:Yes for compatibility with old behavior, please test (toolbar images) with images that are not .BMPesgici wrote: Is this a patch![]()
![]()
![]()
Saludos
Re: Variables Vacias * * URGE * *
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.
Gracias.
Skydone Solutions
www.skydone.com
www.skydone.com