Meneale, você utilizou @... IMAGE ??meneale wrote:This is how image with transparent property looks
HMG 3.2 (Stable)
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.2 (Stable)
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
Re: HMG 3.2 (Stable)
Não, eu uso a IDE, mas mesmo se utilizar ele continua assim, até mesmo os exemplos de /Controls/IMAGE
No, because i use IDE, even if i @... IMAGE to define it, it just continues.. Like samples of /Controls/IMAGE
No, because i use IDE, even if i @... IMAGE to define it, it just continues.. Like samples of /Controls/IMAGE
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.2 (Stable)
This is correct. It is missing i_altsyntax.ch file at #xcommand DEFINE IMAGE additional property for ToolTip.Pablo César wrote:I think Claudio, is missing your C:\hmg.3.2\INCLUDE\i_altsyntax.ch file to be attached into the HMG.3.2_patch1.rar (for DEFINE IMAGE too)
Here is what must bue replaced for IMAGE in C:\hmg.3.2\INCLUDE\i_altsyntax.ch file:
---
Yes Claudio, sorry you were right. I was trying compiling the example based on Martin example in the attached file in this message which contains a I_image.ch file and when I tried to compile in this folder, gives me a compiling error. When I delete the local I_image.ch file, then could compile normally. Sorry, my fault.srvet_claudio wrote:Pablo, on my system everything works OK...Pablo César wrote:There is something wrong with TRANSPARENT in @...IMAGE, because when I trying gives me syntax error...
---
Thanks Meneale for your reply, I was thinking was an error at @... IMAGE, but was a wrong .ch file in the folder where I trying to compile the example.meneale wrote:Não, eu uso a IDE, mas mesmo se utilizar ele continua assim, até mesmo os exemplos de /Controls/IMAGE
No, because i use IDE, even if i @... IMAGE to define it, it just continues.. Like samples of /Controls/IMAGE
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
HMG 3.2 (Stable)
Today when I tried to compile Agustin example (project in folder which contains spaces characters) I found this problem:
this message.
I think most of us have passed for this experience and I believe there is solution for this. At least I got it the right way to compile thru Build.bat at prompt of line command without problem (as show in my message of link above).
The question is: Is possible Claudio Soto to make workable also at HMG/IDE ? Do you believe we can find any problem to do it so ? Please comment.
Then I remembered about I think most of us have passed for this experience and I believe there is solution for this. At least I got it the right way to compile thru Build.bat at prompt of line command without problem (as show in my message of link above).
The question is: Is possible Claudio Soto to make workable also at HMG/IDE ? Do you believe we can find any problem to do it so ? Please comment.
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: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG 3.2 (Stable)
Hi Meneale.meneale wrote:This is how image with transparent property looks
This is the behaviour of the control image.
Code: Select all
@ <nRow> ,<nCol>
IMAGE <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ ACTION | ONCLICK | ON CLICK <ActionProcedureName> | <bBlock> ]
PICTURE <cPictureName>
[ WIDTH <nWidth> ] --> if WIDTH is Zero the image is displayed with the Width of the original image, for default is zero.
[ HEIGHT <nHeight> ] --> if HEIGHT is Zero the image is displayed with the Height of the original image, for default is zero.
[ STRETCH ] --> the Width/Height of the image is adjusted exactly at the Width/Height of the Image Control.
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ TRANSPARENT ] --> sets the color of the first pixel (col=0, row=0) of the image to treat as transparent in the image.
[ BACKGROUNDCOLOR anBackgroundColor ] --> sets the color of the Background image (e.g the current color of the background window), for default is the color COLOR_BTNFACE.
[ ADJUSTIMAGE ] --> the WIDTH/HEIGHT ratio of the Image Control is adjusted exactly at the Width/Height ratio of the image.
[ TRANSPARENTCOLOR anTransparentColor ] --> sets the color anTransparentColor to treat as transparent in the image.
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG 3.2 (Stable)
Ok, no problem!Pablo César wrote:Yes Claudio, sorry you were right. I was trying compiling the example based on Martin example in the attached file in this message which contains a I_image.ch file and when I tried to compile in this folder, gives me a compiling error. When I delete the local I_image.ch file, then could compile normally. Sorry, my fault.srvet_claudio wrote:Pablo, on my system everything works OK...Pablo César wrote:There is something wrong with TRANSPARENT in @...IMAGE, because when I trying gives me syntax error...
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG 3.2 (Stable)
Sorry Pablo, but I have no time to dedicate to the IDE.Pablo César wrote:The question is: Is possible Claudio Soto to make workable also at HMG/IDE ? Do you believe we can find any problem to do it so ? Please comment.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.2 (Stable)
No problem my friend, I understand. I would like to help you, because seems not be difficult to be implemented at IDE also at Build.bat. In case you need more details, please be free to ask me when you are able to do it.srvet_claudio wrote:Sorry Pablo, but I have no time to dedicate to the IDE.Pablo César wrote:The question is: Is possible Claudio Soto to make workable also at HMG/IDE ? Do you believe we can find any problem to do it so ? Please comment.
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: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG 3.2 (Stable)
Hi All.
Change line 81 in c_label.c
for this line:
and rebuild the lib.
This change prevents interpretation of any ampersand (&) characters in the text of Label control as accelerator prefix characters.
Change line 81 in c_label.c
Code: Select all
int Style = WS_CHILD | SS_NOTIFY;
Code: Select all
int Style = WS_CHILD | SS_NOTIFY | SS_NOPREFIX;
This change prevents interpretation of any ampersand (&) characters in the text of Label control as accelerator prefix characters.
Re: HMG 3.2 (Stable)
Hi.
When a change like this is made, do the downloadable files get updated so that anyone who downloads it from now on won't have to make these changes?
I haven't downloaded 3.2 yet, and am wondering whether I need to remember to make this change when I do!
Thanks.
CalScot
When a change like this is made, do the downloadable files get updated so that anyone who downloads it from now on won't have to make these changes?
I haven't downloaded 3.2 yet, and am wondering whether I need to remember to make this change when I do!
Thanks.
CalScot