Print Page | Close Window

Which class should i use to implement this effect?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12242
Printed Date: 23 June 2025 at 11:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Which class should i use to implement this effect?
Posted By: ryotyankou
Subject: Which class should i use to implement this effect?
Date 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.



Replies:
Posted By: jimmy
Date Posted: 23 September 2008 at 9:45am
CXTPButton ???

  Jimmy


Posted By: znakeeye
Date Posted: 23 September 2008 at 12:40pm
You mean the arrow? It's not a button... Just use resizable dialog (CXTResizeDialog).


Posted By: ryotyankou
Date 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.


Posted By: ryotyankou
Date Posted: 26 September 2008 at 5:13am
Could someone help? I just want to make the button rounded-look.


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net