Print Page | Close Window

CXTPTreeCtrl (button)

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=3130
Printed Date: 09 November 2025 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTreeCtrl (button)
Posted By: flxrz
Subject: CXTPTreeCtrl (button)
Date 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.




Replies:
Posted By: Oleg
Date Posted: 31 October 2005 at 1:22am

Hello,

In MSDN see

CTreeCtrl::HitTest

and

javascript alink_1.Click - TVHITTESTINFO structure



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


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



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


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




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