![]() |
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)
Quote Reply
Topic: Which class should i use to implement this effect?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: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2008 at 9:45am |
|
CXTPButton ???
Jimmy |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2008 at 12:40pm |
|
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)
Quote Reply
Posted: 23 September 2008 at 10:31pm |
|
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)
Quote Reply
Posted: 26 September 2008 at 5:13am |
|
Could someone help? I just want to make the button rounded-look.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 September 2008 at 3:18am |
|
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 |