AppGetMainWnd¶
AppGetMainWnd returns the handle of UniPlot’s main window.
-
hMainWnd = AppGetMainWnd()
Return Value
hMainWnd is the handle of UniPlot’s main window.
Example
ShowWindow(h = AppGetMainWnd(), SW_HIDE); Sleep(3000);ShowWindow(h, SW_SHOW)
Helper Functions
ShowWindow¶
ShowWindow sets the specified window’s show state.
-
b = ShowWindow(hWindow, nCmdShow)
nCmdShow: See 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()
See also
id-1548439