Microsoft KB Archive/147766

= BUG: Mouse Events Handled After Program Termination =

PSS ID Number: 147766

Article Last Modified on 11/2/1999

-

The information in this article applies to:


 * Microsoft Fortran PowerStation for Windows 95 and Windows NT 4.0

-



This article was previously published under Q147766



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: kbLangFortran KB147766

Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.