Power List Box Control

A power list box is used to display menus that support the normal static text of a standard list box, plus interact with other controls, such as edit boxes and spin box controls. The IASPowerListBox interface implements the CreateItem method, which enables you to include other controls by setting one of the following item values:

The following code example shows how to create a power list box that is combined with a menu control.

CoCreateInstance(CLSID_POWERMENU, NULL,
                CLSCTX_INPROC_SERVER, IID_ASPOWERLISTBOX,
                (PVOID *) &pPLB);

The following illustration shows a power list box control used to display and set CD Player options.