HMG 3.2 (Stable)
Posted: Thu Dec 12, 2013 11:29 pm
Meneale, você utilizou @... IMAGE ??meneale wrote:This is how image with transparent property looks
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://www.hmgforum.com/
Meneale, você utilizou @... IMAGE ??meneale wrote:This is how image with transparent property looks
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)
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
Hi Meneale.meneale wrote:This is how image with transparent property looks
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.
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...
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.
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.
Code: Select all
int Style = WS_CHILD | SS_NOTIFY;
Code: Select all
int Style = WS_CHILD | SS_NOTIFY | SS_NOPREFIX;