HRESULT Show(HWND hWnd);
Shows the status window. When the grammar object is first created, the status window is hidden.
· Returns NOERROR if successful, or one of these error values:
E_OUTOFMEMORY
SRERR_INVALIDWINDOW
hWnd
[in] Handle of the application window for which to display the status window. When hWnd is the foreground window, the status window appears; when hWnd loses the focus, the status window disappears. An application can use this as a convenient alternative to calling the ISRGramInsertionGUI::Hide and ISRGramInsertionGUI::Show member functions when the focus changes. If hWnd is NULL, the status window is displayed continuously, regardless of which application window has the focus.