CXTResizeGroupBox Background Color |
Post Reply |
Author | |
d324
Groupie Joined: 16 April 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 09 April 2010 at 6:39am |
Hi,
I'm trying to make a CXTResizeGroupBox control that I created dynamically either transparent or to have the same background color as the main window. (I'm creating the control inside an OCX.) I created the control with: m_gbGroup1.Create(_T("Group 1"), WS_CHILD | WS_VISIBLE | BS_GROUPBOX, CRect(5, 5, 100, 60), this, IDC_GROUPBOX_1); I tried adding WS_EX_TRANSPARENT and failed. I also tried setting the background color in WM_CTLCOLOR handler, but only the caption's background is changed and the rest of the control is not. Any help would be appreciated. Thanks. Regards, Kuan |
|
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 |