Transparent windowing control
| Thu, 2006-11-02 17:02 | |
|
|
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. |






Forum posts: 3
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
Forum posts: 1
Forum posts: 1155
Forum posts: 4
What changes has to be done in wsini.ini file, means how to write transparency tag there(details)?
Forum posts: 1155
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.