CXTPButton with transparent background |
Post Reply |
Author | |
yoavo
Senior Member Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Posted: 30 September 2014 at 8:43am |
Hi,
Is there a way to draw transparently the background color of CXTPButton ? As I understand the background color is taken from the parent of the control (the dialog box): in CXTPButton::OnDraw HBRUSH hBrush = (HBRUSH)GetParent()->SendMessage(WM_CTLCOLORBTN, (WPARAM)memDC.GetSafeHdc(), (LPARAM)GetSafeHwnd()); But in my case the button is positioned on a colored static control which it's color is different from the dialog background color. Yoav. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |