Best regards...
Archivos png
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Archivos png
Hi Claudio

For including Bos Taurus in HFCL and to make it work in a library, I had to re-organize the source code.
I am sorry and apologize for not informing you about the changes I have made in your code. I had completely forgotten.The library consists of three separate source files as indicated by the PDF manual, but perhaps for reasons of clarity with the other files in the HFCL, Rathinagiri decided to gather all of Bos Taurus files into one file PRG.
For including Bos Taurus in HFCL and to make it work in a library, I had to re-organize the source code.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- srvet_claudio
- Posts: 2223
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Hi Rathi.
In the next version I will correct the manual and the source code will be reorganized as in the HFCL.
Best regards,
Claudio.
Ok no problem, what is good for HMG is good for me...rathinagiri wrote:I am sorry and apologize for not informing you about the changes I have made in your code. I had completely forgotten.
For including Bos Taurus in HFCL and to make it work in a library, I had to re-organize the source code.
In the next version I will correct the manual and the source code will be reorganized as in the HFCL.
Best regards,
Claudio.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Archivos png
Thanks for the understanding Claudio.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Archivos png
Hola Claudio,srvet_claudio wrote:Hi Brother.rathinagiri wrote:Using libpng can we loadpicture?
I'm sorry, I've never used libpng.
Later I will trying to make a function for load PNG images with gdiplus.dll for HMG.
I am currently preparing version 1.0.1 of Bos Taurus for some make effects in the imagens (e.g. emboss, blur, sharpen, etc.).
Best regards,
Claudio.
No sé si perdi algo, pero creo que todavia no podemos cargar imagenes de archivos png en los botones ? O todavia no hay forma de hacerlo ? Porque por bmp se pierde mucha la calidad y es pesado el tamaño.
Hello Claudio,
I do not know if you lost something, but I think we still can not upload images of png files in the buttons ? Or still no way to do this ? Doing by bmp we loose much quality and heavy size too.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2223
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Still can not upload images other than BMP in most controls, is a topic that I have pending.Pablo César wrote:I do not know if you lost something, but I think we still can not upload images of png files in the buttons ? Or still no way to do this ? Doing by bmp we loose much quality and heavy size too.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Archivos png
Ok Claudio, thank you to keep us informed. It is a petty to able to load png files... 
I am having diffculties to load CURSOR from RC file. But I wish to load only when is pressing mouse button down.
It was working this function:But with this I need to put .cur name file. And I would like to load from RC file, just by it nick name. Claudio could give me a clue how to do it ?
Thanks for you usual attention.
My Rgds
I am having diffculties to load CURSOR from RC file. But I wish to load only when is pressing mouse button down.
It was working this function:
Code: Select all
HB_FUNC( FILECURSOR )
{
hb_retnl( ( LONG ) SetCursor( LoadCursorFromFile( HMG_parc( 1 ) ) ) );
}Thanks for you usual attention.
My Rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2223
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Hi Pablo:Pablo César wrote: I am having diffculties to load CURSOR from RC file.
And I would like to load from RC file, just by it nick name.
Code: Select all
HB_FUNC( RESOURCECURSOR )
{
hb_retnl( ( LONG ) SetCursor( LoadCursor( GetModuleHandle( NULL ) , HMG_parc( 1 ) ) ) );
}Code: Select all
MyCursor CURSOR FileCursor.CUR- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Archivos png
Funcionó perfecto. Gracias Claudio.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Archivos png
I am happy because, now we can use png files for buttons thanks to Mr. Claudio.srvet_claudio wrote:Still can not upload images other than BMP in most controls, is a topic that I have pending.Pablo César wrote:I do not know if you lost something, but I think we still can not upload images of png files in the buttons ? Or still no way to do this ? Doing by bmp we loose much quality and heavy size too.
But it would be perfect if it can be loaded from .rc file. Do you expect to include this feature too, dear Claudio ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein