Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Which class should i use to implement this effect?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Which class should i use to implement this effect?

 Post Reply Post Reply
Author
Message
ryotyankou View Drop Down
Newbie
Newbie


Joined: 17 September 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ryotyankou Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2008 at 9:45am
CXTPButton ???

  Jimmy
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2008 at 12:40pm
You mean the arrow? It's not a button... Just use resizable dialog (CXTResizeDialog).
Back to Top
ryotyankou View Drop Down
Newbie
Newbie


Joined: 17 September 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ryotyankou Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ryotyankou View Drop Down
Newbie
Newbie


Joined: 17 September 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ryotyankou Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2008 at 5:13am
Could someone help? I just want to make the button rounded-look.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.