Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTPTreeViewBase not visible in Class View
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTreeViewBase not visible in Class View

 Post Reply Post Reply
Florian Bous View Drop Down

Joined: 30 June 2022
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Florian Bous Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTreeViewBase not visible in Class View
    Posted: 30 June 2022 at 6:54am
I use a class derived from CXTPTreeView in Visual C++ and have a problem, because I can't add message handlers like I am used to with the Class Wizard. The Class Wizard claims that my class is not derived from CCmdTarget. But actually it is derived from CCmdTarget, indirectly through CXTPTreeView and CXTPTreeViewBase. On closer look the problem is also visible in the Class View: CXTPTreeView is shown without any Base Types.

The obvious suspect is a multi-line macro that expands into the class declaration for CXTPTreeViewBase in XTPTreeViewCtrl.h:



Does anybody know a way to solve or work around this problem, so that I could use the Visual Studio Class View and Class Wizard with my tree view? 
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.047 seconds.