Click here to Skip to main content
11,805,604 members (57,857 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ ActiveX
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
0 OriginalGriff 300
1 Richard Deeming 225
2 Sergey Alexandrovich Kryukov 170
3 ppolymorphe 125
4 Abhinav S 118
0 OriginalGriff 3,300
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 27 Apr 2013
Copyright © CodeProject, 1999-2015
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