IEditorHost.dropDownControl

Overview | Methods | This Package | All Packages

IEditorHost.dropDownControl

Launches a drop-down window that contains a control.

Syntax

public void dropDownControl( Control ctl )

Parameters

ctl

A Control object to be displayed inside a drop-down window.

Remarks

Because this method attempts to give the control its current size, the control should set its desired size before each invocation of this method. The dropDownDone method should then be called when the control has finished editing the value. Note that the drop-down window may be exited prematurely through user action, in which case the control is made invisible.

When implementing the dropDownControl method, the associated value editor should specify the STYLE_DROPDOWNARROW style.