want to add border to CXTButton |
Post Reply |
Author | |
msthomas
Newbie Joined: 14 August 2003 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 08 September 2003 at 9:38am |
Hi, I want to add a black border to a flat style CXTButton within a dialog box. I would be very grateful for details on how to do this. I have subclassed the OK button of the dialog within OnInitDialog(). The result is that the OK button is white and flat (which is what I want) but it needs a border :- m_ok_button.SubclassDlgItem(IDOK, this); And the m_ok_button is declared as :- CXTButton m_ok_button Thanks for any help. Michael
|
|
michael
clownred software |
|
camow
Newbie Joined: 30 March 2004 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
I would like to do this also. It would allow me to standardize on CXTButton everywhere instead of CButton and let me do the things that should have been simple in the first place - like setting the face color. But it seems like CXTButton isn't a superset of CButton in looks. Because these are the only possible styles(?) const UINT BS_XT_FLAT &n bsp; = 0x0001; // Draws a flat button. |
|
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 |