Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Semi-transparent windows: wxWIN

69 views
Skip to first unread message

Pavel Nikitenko

unread,
Jul 31, 2007, 7:45:47 AM7/31/07
to
Hi all,

I would like to kindly ask, if it is possible to create semi-transparent
(main) application window with using wxWIN (wxWidgets).

Thanks for answer,

Pavel

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-u...@lists.wxwidgets.org
For additional commands, e-mail: wx-use...@lists.wxwidgets.org

Eran Ifrah

unread,
Jul 31, 2007, 8:18:13 AM7/31/07
to
Since wxFrame (which is usually the class you use for the main application), is derived from wxTopLevelWindow, you can
use wxTopLevelWindow::SetTransparent(int alpha) method, where:
An alpha  value of 0 sets the window to be fully transparent, and a value of 255 sets the window to be fully opaque

Eran
--
Eran Ifrah
eran....@gmail.com
0 new messages