IMathInputControl::EnableExtendedButtons method (micaut.h)

Determines whether the extended set of control buttons is shown.

Syntax

HRESULT EnableExtendedButtons(
  [in] VARIANT_BOOL Extended
);

Parameters

[in] Extended

VARIANT_TRUE to show the extended button set; VARIANT_FALSE to show the basic button set.

Return value

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

Remarks

The basic button set is shown by default.

The basic button set contains the Clear, Erase, Insert, Select and Correct, and Write buttons. The extended button set contains the basic set plus the Redo and Undo buttons.

The following image shows the Math Input Control with extended buttons enabled.

Math input control with extended buttons enabled The following image shows the Math Input Control with extended buttons disabled. Math input control with extended buttons disabled

Examples


    hr = g_spMIC->EnableExtendedButtons(VARIANT_TRUE);
  

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header micaut.h (include Micaut.h)

See also

Customizing the Math Input Control

IMathInputControl