'Declaration
Sub BeforeCommandsDisplay( _ ByVal controller As IUserInterfaceContext _ )
void BeforeCommandsDisplay( IUserInterfaceContext controller )
Parameters
- controller
- The User Interface Controller for the current process
'Declaration
Sub BeforeCommandsDisplay( _ ByVal controller As IUserInterfaceContext _ )
void BeforeCommandsDisplay( IUserInterfaceContext controller )
Use this method to change what commands are available or what their labels should be prior to being displayed.
The controller should not be persisted or accessed between calls, it may change and the same object may get calls from multiple controllers.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2