Which class should i use to implement this effect? |
Post Reply |
Author | |
ryotyankou
Newbie Joined: 17 September 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 23 September 2008 at 5:32am |
The round corner button, How? 3Q.
I searched all the toolkit pro source code, and found no class derive from CButton can make it work.
Thanks in advance.
|
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
CXTPButton ???
Jimmy |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
You mean the arrow? It's not a button... Just use resizable dialog (CXTResizeDialog).
|
|
ryotyankou
Newbie Joined: 17 September 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
To Jimmy:
I have tried CXTPButton, it is not work. I simple use CXTPButton to instead CButton in the class declaration.
To znakeeye:
I'm not mean the arrow, just the button's four corners, these are round rectangles, not standard rectangles.
|
|
ryotyankou
Newbie Joined: 17 September 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Could someone help? I just want to make the button rounded-look.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can override
virtual void DoDraw(CDC* pDC); of CXTPButton and draw button as you need.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |