Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Mouse Events

harrykausl
Beginner
489 Views
In Intel-Fortran it is possible to catch mouse-events like left button, right button (up down) or move. How can I catch additionale buttons or a wheel turn.
Thanks.
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
489 Views

Yes, but it depends on type of application:

1) Console application: no

2) QuickWin/Standard Graphics: yes (partially). See REGISTERMOUSEEVENT. The behaviour can be extended to middle button and mouse wheel handling by subclassing (see POKER sample) and then using the same technique as in 3)

3) Win32 applications: yes. You have to handle WM_LBUTTON* / WM_RBUTTON* / WM_MBUTTON* / WM_MOUSEWHEEL / WM_MOUSENMOVE messages in the window procedure.

Jugoslav

0 Kudos
Reply