api_set_current_window()
Sets a window to be currently active. Returns: the handle of the window replaced by the window specified by this function.
See also: api_get_current_window(), api_set_current_window_by_seq_num().
Syntax:
api_set_current_window([windowType | windowHandle]);
where
windowType is the type of window, where:
- MAIN_WIN = Main window
- SCHEM_WIN = Schematic window
- LAYOUT_WIN = Layout window
OR
windowHandle is a handle of a window to retrieve the graphics area from.
Example:
decl oldWinHandle; oldWinHandle = api_set_current_window(SCHEM_WIN);
OR
oldWinHandle = api_set_current_window(windowHandle);
Where Used:
Graphical user interface
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()