次の方法で共有


TypeAndMemberDropdownBars.OnComboGetFocus(Int32) Method

Definition

Called when a combo box gets the focus.

public:
 virtual int OnComboGetFocus(int combo);
public:
 virtual int OnComboGetFocus(int combo);
 virtual int OnComboGetFocus(int combo);
public virtual int OnComboGetFocus (int combo);
abstract member OnComboGetFocus : int -> int
override this.OnComboGetFocus : int -> int
Public Overridable Function OnComboGetFocus (combo As Integer) As Integer

Parameters

combo
Int32

[in] The ID of the combo box (0 for the types combo box, 1 for the members combo box).

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Remarks

Override this method if you need to do anything special when a particular combo box gets the focus.

This method is an implementation of the OnComboGetFocus method on the IVsDropdownBarClient interface.

The base method does nothing and always returns S_OK.

Applies to