PyCCmdTarget.HookCommandUpdate

object = HookCommandUpdate(obHandler, id )

Hook a windows command update handler.

Parameters

obHandler : object

The handler for the command message. This must be a callable object.

id : int

The ID of the command to be handled.

Comments

The handler object passed will be called as the application updates user interface elements with the specified ID. See PyCCmdTarget::HookCommand for a description of the rules used to determine command routing and updating.

Return Value

The return value is the previous handler, or None.