A 3D Dynamic Geometry Software

Calques 3D C++



CPropShapeCombo Class Reference

Inheritance diagram for CPropShapeCombo:

Inheritance graph
Collaboration diagram for CPropShapeCombo:

Collaboration graph

List of all members.


Detailed Description

CPropShapeCombo.

Public Member Functions

 CPropShapeCombo ()
 Default constructor.
 CPropShapeCombo (int type)
 Constructor.
void SetType (int type)
 Set the type of shapes associated with the combobox.
virtual void DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct)
 Called by the framework when a visual aspect of an owner-draw combo box changes.

Private Attributes

int m_type
 Type of the shape widget.

Constructor & Destructor Documentation

CPropShapeCombo (  ) 

Default constructor.

CPropShapeCombo ( int  type  ) 

Constructor.


Member Function Documentation

void SetType ( int  type  )  [inline]

Set the type of shapes associated with the combobox.

Parameters:
type The type of the shape (see CShape::TShapeType)

void DrawItem ( LPDRAWITEMSTRUCT  lpDrawItemStruct  )  [virtual]

Called by the framework when a visual aspect of an owner-draw combo box changes.

Parameters:
lpDrawItemStruct A pointer to a DRAWITEMSTRUCT structure that contains information about the type of drawing required.


Member Data Documentation

int m_type [private]

Type of the shape widget.