IMathInputControl::Show method

Shows the control.

Syntax


HRESULT Show();

Parameters

This method has no parameters.

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 cooridnates). 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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Micaut.h (include Micaut.h)

IDL

Micaut.idl

See also

Creating a Math Input Control
Customizing the Math Input Control
Hide
IMathInputControl

 

 

Show: