Click here to Skip to main content
13,050,242 members (101,755 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Longshot here ...

I'm trying to subclass a tree control in a plugin to a 3rd party application. The application hosts the control but does not expose enough functionality to manipulate it in the plugin.

The tree control is an Infragistics ActiveTreeView (SSTree.ocx).
the windows class is called SSTreeWndClass.
This product was retired in 2005 - google info is limited.

I am able to find the window, get the hwnd, get the GWLP_USERDATA, and sublcass the window.

What I want to do is understand what the GWLP_USERDATA is.
Generally this will be a pointer to the object, which would then allow me to manipulate it directly. Without info on what messages the control receives subclassing alone is fairly useless, as I can't parse the message or WP, LP parameters.

I have tried casting GWLP_USERDATA to ActiveTreeView::ISSTree without success.
The data appears to be a pointer, and looking at the memory at the location supports this, but doesn't shed light on what it is a pointer to.

Has anyone used this control and know what is being stuffed in GWLP_USERDATA ?

Posted 27-Apr-13 5:05am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 27 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100