.. highlightlang:: us .. index:: AppGetMainWnd .. _appgetmainwnd: AppGetMainWnd ============= .. us.tag AppGetMainWnd ENGLISH App :ref:`AppGetMainWnd` returns the handle of UniPlot's main window. .. function:: hMainWnd = AppGetMainWnd() .. us.return **Return Value** *hMainWnd* is the handle of UniPlot's main window. .. us.example **Example** :: ShowWindow(h = AppGetMainWnd(), SW_HIDE); Sleep(3000);ShowWindow(h, SW_SHOW) **Helper Functions** .. index:: ShowWindow .. _showwindow: ShowWindow -------------- .. us.tag ShowWindow NOTREADYENGLISH New5800 window :ref:`ShowWindow` sets the specified window's show state. .. function:: b = ShowWindow(hWindow, nCmdShow) *nCmdShow*: See :ref:`DocShow`. More functions:: bool = IsWindowVisible(hWindow) bool = DestroyWindow(hWindow) bool = BringWindowToTop(hWindow) ssClass = GetClassName(hWindow) ssTitle = GetWindowText(hWindow) bool = SetWindowText(hWindow, ssTitle) hWindow = FindWindow(ssClassName, ssWindowName) hvWindows = GetWindowHandles() .. ------------------------------------------------------------------------------ .. seealso:: :ref:`overview-application-object`, :ref:`ShowWindow` :sub:`id-1548439`