Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

UpdateUI method

Notifies the host that the command state has changed.

Syntax


HRESULT retVal = object.UpdateUI();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The host should update the state of toolbar buttons in an implementation of this method.

This method is called regardless of the return value from the IDocHostUIHandler::ShowUI method.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.