DisplaySapGui 

BOOL DisplaySapGui (BOOL DisplayWindow)

Parameters

DisplayWindow

TRUE to display the SAPGUI window; FALSE to hide it

Return Value

Returns TRUE if the SAPGUI window is found; FALSE otherwise.

Comments

Hides or displays the current SAP GUI window, if it can be found. The ID of the SAPGUI window may change, so there is no guarantee that the window will remain hidden or displayed across events. It is generally better to hide or display the SAPGUI window at connect time by setting or clearing the SapGuiFront flag in the Flags parameter of the Connect method.