Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTreeCtrl (button)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTreeCtrl (button)

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


Joined: 30 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote flxrz Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTreeCtrl (button)
    Posted: 30 October 2005 at 11:53am

Hello everyone:

Congratulations for this product. I think itīs great and a very valuable tool for developers.

Here is my question: I am working with version VC++ MFC 9.7, is there any way to insert a "button" in a "CXTPTreeCtrl" as a node? If this isnīt allowed, would be possible to detect when the user clicks on an icon of the "CXTPTreeCtrl"? How?

Thank you very much.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 31 October 2005 at 1:22am

Hello,

In MSDN see

CTreeCtrl::HitTest

and

TVHITTESTINFO structure

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
flxrz View Drop Down
Newbie
Newbie


Joined: 30 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote flxrz Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2005 at 6:51am

Thank you for answer my question.

So I guess that v9.7 canīt insert a "button" in a "CXTTreeCtrl". Will this feature be implemented in new versions?

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 04 November 2005 at 12:24am

No it can't.  I suggest you to assign ImageList with Icons look like small buttons.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
flxrz View Drop Down
Newbie
Newbie


Joined: 30 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote flxrz Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2005 at 9:26am

I already did it and looks nicely!

Anyway, it will be a great addin for next Codejock release.

Than you.

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.063 seconds.