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.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>• MOUSE$RBUTTONDOWN – Right mouse button down• MOUSE$RBUTTONUP – Right mouse button up• MOUSE$RBUTTONDBLCLK – Right mouse button double-click• MOUSE$MOVE – Mouse movedkeystate(Output) INTEGER(4). Bitwise inclusive OR of the state of the mouse during the event. The valuereturned in keystate can be any or all of the following symbolic constants:• MOUSE$KS_LBUTTON - Left mouse button down during event• MOUSE$KS_RBUTTON - Right mouse button down during event• MOUSE$KS_SHIFT - SHIFT key held down during event• MOUSE$KS_CONTROL - CTRL key held down during eventx(Output) INTEGER(4). X position of the mouse when the event occurred.y(Output) INTEGER(4). Y position of the mouse when the event occurred.Results:The result type is INTEGER(4). The result is the symbolic constant associated with the mouseevent that occurred if successful. If the function fails, it returns the constantMOUSE$BADEVENT, meaning the event specified is not supported.WAITONMOUSEEVENT does not return until the specified mouse input is received from theuser. While waiting for a mouse event to occur, the status bar changes to read "Mouse inputpending in XXX", where XXX is the name of the window. When a mouse event occurs, the statusbar returns to its previous value.A mouse event must happen in the window that had focus when WAITONMOUSEEVENT wasinitially called. Mouse events in other windows will not end the wait. Mouse events in otherwindows cause callbacks to be called for the other windows, if callbacks were previouslyregistered for those windows.For every BUTTONDOWN or BUTTONDBLCLK event there is an associated BUTTONUPevent. When the user double clicks, four events happen: BUTTONDOWN and BUTTONUP forthe first click, and BUTTONDBLCLK and BUTTONUP for the second click. The differencebetween getting BUTTONDBLCLK and BUTTONDOWN for the second click depends onwhether the second click occurs in the double click interval, set in the system’s CONTROLPANEL/MOUSE.CompatibilityQUICKWIN GRAPHICS LIB2-488

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

Saved successfully!

Ooh no, something went wrong!