12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2Unit numbers 0, 5, and 6 refer to the default window only if the program has not specificallyopened them. If these units have been opened and connected to windows, they are automaticallyreconnected to the console once they are closed.The window with focus is always in the foreground. Note that the window with the focus is notnecessarily the active window (the one that receives graphical output). A window can be madeactive without getting the focus by calling SETACTIVEQQ.A window has focus when it is given the focus by FOCUSQQ, when it is selected by a mouseclick, or when an I/O operation other than a graphics operation is performed on it, unless thewindow was opened with IOFOCUS=.FALSE.. The IOFOCUS specifier determines whether awindow receives focus when an I/O statement is executed on that unit. For example:OPEN (UNIT = 10, FILE = ’USER’, IOFOCUS = .TRUE.)By default IOFOCUS=.TRUE., except for child windows opened with as unit *. IfIOFOCUS=.TRUE., the child window receives focus prior to each READ, WRITE, PRINT, orOUTTEXT. Calls to graphics functions (such as OUTGTEXT and ARC) do not cause the focus toshift.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “FOCUSQQ”, "Using QuickWin" in your user’s guideINSERTMENUQQQuickWin Function: Inserts a menu item into a QuickWin menu and registers its callbackroutine. This function is only available on Windows* systems.Module: USE IFQWINSyntaxresult = INSERTMENUQQ (menuID, itemID, flag, text, routine)menuID(Input) INTEGER(4). Identifies the menu in which the item is inserted, starting with 1 as theleftmost menu.itemID(Input) INTEGER(4). Identifies the position in the menu where the item is inserted, starting with 0as the top menu item.flag(Input) INTEGER(4). Constant indicating the menu state. Flags can be combined with aninclusive OR (see Results section below). The following constants are available:2-177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!