Transparent windowing control

Login to reply to this topic.
Thu, 2006-11-02 17:02
Forum Nokia Champion
Joined: 2004-05-26
Forum posts: 732
Hi All,

I want to make a control or window transparent. I tried using RWindow::SetTransparencyBitmap(), RWindow::SetTransparencyFactor() APIs.

I've changed wsini.ini file and I've added the Transparency tag then the error code return with the usage of the API is KErrNone. But I could not get the transparent window which I want.

Transparency which I mean is suppose the client window is a control.

I'm working in 3rd Edition SDK.


Wed, 2006-11-22 08:19
Joined: 2006-05-18
Forum posts: 3
Re: Transparent windowing control
Hi,

I managed to get transparent window on the emulator, after adding the TRANSPARENCY tag to wsini.ini
If you call SetTransparencyFactor(KRgbBlack) than your window will be completely transparent (use setOpaque on the Gc to draw non-transparent).
If you call SetTransparencyFactor(KRgbWhite) than your window will be completely opaque.
Keep in mind: Your target device need to support transparent windows.

HtH,
Frank
Thu, 2006-12-07 15:23
Joined: 2006-12-07
Forum posts: 1
Re: Transparent windowing control
Do you know which Nokia 3rd edition devices support this API?
Thu, 2006-12-07 15:55
Joined: 2004-11-29
Forum posts: 1155
Re: Transparent windowing control
As far as I know, transparency is not supported in 3rd edition on any phone.

Thu, 2008-03-13 08:05
Joined: 2008-02-04
Forum posts: 4
Re: Transparent windowing control

What changes has to be done in wsini.ini file, means how to write transparency tag there(details)?

Thu, 2008-03-13 12:20
Joined: 2004-11-29
Forum posts: 1155
Re: Transparent windowing control

What do you mean how?

you add

TRANSPARENCY

on a line by itself.

But... Why do you want to know?
This is not something you can do yourself unless you are a licensee making devices.
You can't change this setting on a phone.

  • Login to reply to this topic.