IShellMenu interface
Exposes methods that interact with Shell menus such as the Start menu, and the Favorites menu.
Members
The IShellMenu interface inherits from the IUnknown interface. IShellMenu also has these types of members:
Methods
The IShellMenu interface has these methods.
| Method | Description |
|---|---|
| GetMenu |
Gets the menu information set by calling IShellMenu::SetMenu. |
| GetMenuInfo |
Gets information from the IShellMenu::Initialize method. |
| GetShellFolder |
Gets the folder that the menu band is set to browse. |
| GetState |
Gets a filled SMDATA structure. |
| Initialize |
Initializes a menu band. |
| InvalidateItem |
Redraws an item in a menu band. |
| SetMenu |
Appends a static menu to the menu band. |
| SetMenuToolbar |
Adds a menu to the menuband. |
| SetShellFolder |
Specifies the folder for the menu band to browse. |
Remarks
To get a pointer to this interface, call CoCreateInstance with the rclsid parameter set to CLSID_MenuBand and the riid parameter set to IID_IShellMenu. You must first initialize the interface by calling IShellMenu::Initialize, and then initialize the menu band by calling IShellMenu::SetShellFolder.
Requirements
|
Minimum supported client |
Windows XP with SP2 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|