Click to See Complete Forum and Search --> : static text


kals
April 29th, 1999, 12:47 AM
hai guys,

I have to create a staic text at run time and place it on bitmap.

The problem i am facing is the bitmap which has a combination of multiple

colors.When i place the static text in a bitmap the color of the static text

does not match with the bitmap which does not have a single color.

How do i make the static text transparent so that it looks the same

when i put it in any color. I have tried setbkmode as transparent in Onctlcolor

it is not working. Please give me help.

kals

Thanks for reading the mail.

Expecting a postivie Reply

kals

April 29th, 1999, 01:45 AM
OK I'm still new at this but I think this should work!!! Use CreateWindowEX() to create the control and set the first argument to WS_EX_TRANSPARENT.

Rich Wang
July 23rd, 1999, 05:39 PM
Does this work by using WS_EX_TRANSPARENT?

kals
July 24th, 1999, 05:38 AM
no guys it is not working.. when i given this style WS_EX_TRANSPARENT also






Thanks for reading the mail.

Expecting a postivie Reply

kals