BUG: WONTOP() Does Not Return Topmost WindowID: Q120544 The information in this article applies to:
SYMPTOMSThe window name returned by WONTOP() is not the topmost window, or, when the name of the topmost window is specified as a parameter, WONTOP() returns .F. instead of returning .T.
CAUSEA window was defined with the IN DESKTOP clause. That window is active when the WONTOP() function is called.
RESOLUTIONBefore calling the WONTOP() function, use the DEACTIVATE WINDOW command to deactivate any window that was defined with the IN DESKTOP clause.
STATUSMicrosoft has confirmed this to be a problem 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 INFORMATIONWhen a window is defined with the IN DESKTOP clause and that window is active, WONTOP() will return the name of that window instead of returning the name of the topmost window. WONTOP() will return the name of the topmost window when no windows that were defined with the IN DESKTOP clause are active.
Steps to Reproduce ProblemRun the following code:
Additional reference words: FoxWin buglist2.60 buglist2.60a 2.60a 2.60
KBCategory: kbprg kbbuglist
KBSubcategory: FxprgGeneral
|
|
Last Reviewed: August 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |