CBCGPObjectProp Class Reference
Inheritance diagram for CBCGPObjectProp:

Collaboration diagram for CBCGPObjectProp:

Detailed Description
A property widget for CObject3D objects.Public Member Functions | |
| CBCGPObjectProp (const CString &strName, const CString &strHelp, int ndx, BOOL bHasList, DWORD dwData=0) | |
| Constructor for the CObject3D property widget. | |
| virtual void | OnDrawName (CDC *pDC, CRect rect) |
| Called by the framework to display the property name. | |
| virtual BOOL | OnDblClick (CPoint point) |
| Called by the framework when the user double clicks the property. | |
Protected Attributes | |
| CImageList * | m_pImgList |
| A pointer to the image list containing the object icons. | |
| int | m_nIcon |
| Index of the icon to draw. | |
Constructor & Destructor Documentation
| CBCGPObjectProp | ( | const CString & | strName, | |
| const CString & | strHelp, | |||
| int | ndx, | |||
| BOOL | bHasList, | |||
| DWORD | dwData = 0 | |||
| ) |
Constructor for the CObject3D property widget.
- Parameters:
-
strName The name of the geometrical object strHelp The description of the geometrical object ndx The zero-based index of the object's icon bHasList TRUE if the object has parents, FALSE otherwise dwData The user defined data to be associated with the property.
Member Function Documentation
| void OnDrawName | ( | CDC * | pDC, | |
| CRect | rect | |||
| ) | [virtual] |
Called by the framework to display the property name.
- Parameters:
-
pDC A pointer to a device context. rect The bounding rectangle of the property value.
| BOOL OnDblClick | ( | CPoint | point | ) | [virtual] |
Called by the framework when the user double clicks the property.
- Parameters:
-
point Specifies the point in the property list control client coordinates.
- Returns:
- TRUE if the notification is processed by the property.
Member Data Documentation
CImageList* m_pImgList [protected] |
A pointer to the image list containing the object icons.
int m_nIcon [protected] |
Index of the icon to draw.



