XLL+ Class Library (6.3)

CXlWizExUIFunctionDescriptor::AddPopup

Adds a popup editor provider for the specified argument

void AddPopup(
   int argIndex,
   CXlWizExUIPopupProviderBase* ppopup
);

Parameters

argIndex

The index of the argument. (The first argument has index 0.)

ppopup

A pointer to an object derived from CXlWizExUIPopupProviderBase.

Remarks

Once the pointer in ppopup is passed to this method, the object pointed to is "owned" by the CXlWizExUIFunctionDescriptor object. The destructor for ppopup should not be called, since it will be called by the CXlWizExUIFunctionDescriptor destructor. Note that the destructor (if any) for a class derived from CXlWizExUIPopupProviderBase must be declared as virtual.

Requirements

Header: xlwizexui.h

See Also

CXlWizExUIFunctionDescriptor Class | CXlWizExUIFunctionDescriptor Methods | CXlWizExUIPopupProviderBase class