BUG: Mouse Events Handled After Program Termination

ID: Q147766


The information in this article applies to:
  • Microsoft Fortran PowerStation for Windows 95 and Windows NT, version 4.0


SYMPTOMS

When you exit a Fortran QuickWin application, mouse event callbacks continue to function for that application.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Build and run the following sample code. When asked to exit the program, choose No. Pressing the left mouse button in the graphics window yields the message, "Inside MouseEvent Handler." This behavior is erroneous because QuickWin event callbacks should become inactive after the application has terminated.

Sample Code to Illustrate Problem


! Compile options needed: /MW

      use msflib
      external MouseEvent
      print *,'Hello world'
      i = registermouseevent( 0, MOUSE$LBUTTONDOWN, MouseEvent )
      end

      subroutine MouseEvent
      print *,'Inside MouseEvent Handler'
      end subroutine 

Additional query words: 4.00

Keywords : kbFortranPS kbLangFortran
Version : :4.0
Platform : NT WINDOWS
Issue type :


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.