Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Custom member variable to CExtPropertyItem class Collapse All
Subject Author Date
Svetlozar Kostadinov Apr 23, 2007 - 12:32 PM

Hello guys, does anybody knows how to attach data to each CExtPropertyItem instance without inheriting the class. It derives from CObject and the shortcomming of CObject is that it has no "slot" for custom data (like SetWindowLong() API function). I just need to attach one interface pointer to every property item, but don’t know where! Please help!

Technical Support Apr 25, 2007 - 3:36 AM

There are two methods in the CExtPropertyItem class, LPARAM_Get() and LPARAM_Set(), which you can use for storing custom data.