Print Page | Close Window

How to inherit my class from XTP Class

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=841
Printed Date: 24 December 2024 at 8:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to inherit my class from XTP Class
Posted By: nkfeiyang
Subject: How to inherit my class from XTP Class
Date Posted: 15 June 2004 at 2:32am

    

      I want to write some classes that inherit from XTP class. Fox example, I want to write a treectrl that have some sepcial function deal with my data. Then i can use it in my framewnd,

but when i want to inherit from XTPTreectrl, I found that if I use MFC class wizard, I can only

inherit from MFC class. if i choose generic class, it is quite different from MFC class and i don't

know how to deal with Message Map in it. Who can tell me how?

       thanks a lot.




Replies:
Posted By: Oleg
Date Posted: 18 June 2004 at 2:45am

you can add CTreeCtrl and then replace all CTreeCtrl to CXTTreeCtrl.

Or create class manually.



-------------
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