TypeComboBoxhWnd Property
Applies To
fpSpread control
Description
Sets or returns the window handle of the List ProTM fpCombo control to use as the drop-down list in a combo box cell. This property is available at run time only.
Syntax
long CSpreadSheet::GetTypeComboBoxhWnd( );
void CSpreadSheet::SetTypeComboBoxhWnd(long value);
[form.]fpSpread.TypeComboBoxhWnd[ = HANDLE]
Remarks
If you need an enhanced drop-down list in the fpSpread control combo box cell, you can use the fpCombo control in our List Pro product (version 2.1 and later) to create the drop-down list in a cell designated as a combo box cell. Use this property to specify the window handle of the control to use as the combo box.
To use the fpCombo control in the combo box cell, specify the sheet with which you want to work by setting the Sheet property, and then specify the cell to work with using the Col and Row properties. Set the CellType property to 8 (Combo Box) to create a combo box cell, and then set the TypeComboBoxhWnd property to the value returned by the fpCombo control's hWnd property.
Data Type
Window handle of the control to use as the combo box
See Also
Creating a Combo Box Cell Using the FarPoint fpCombo Control
DLL Correspondence
SSSetTypeComboBoxEx function