IMathInputControl::Show method (micaut.h)

Shows the control.

Syntax

HRESULT Show();

Return value

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

Remarks

Shows the Math Input Control if it is not visible. If the control is already visible, puts the control on top of the z-order stack. If SetPosition is not called, Show will display the control at the top-left corner of the screen ((0, 0) in screen coordinates). The control's width and height will be at their minimum.

Examples


    HRESULT hr = CoInitialize(NULL);
    hr = g_spMIC.CoCreateInstance(CLSID_MathInputControl);
    hr = g_spMIC->EnableExtendedButtons(VARIANT_TRUE);
    hr = g_spMIC->Show();  
    

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

Creating a Math Input Control

Customizing the Math Input Control

Hide

IMathInputControl