ID: Q129393
The information in this article applies to:
The following error message may occur when using the DEFINE WINDOW command.
Not a user-defined window.
The DEFINE WINDOW command generates this error message if you use a window name that starts with the reserved name "SCREEN," which is used by the main FoxPro window.
Rename the window, possibly by prefacing the name with a letter. For example:
DEFINE WINDOW Ascreen1 FROM 1,1 TO 10,10
Microsoft 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.
This is different behavior than observed in FoxPro for Windows which allows you to create the above window definition without an error. This can cause problems when porting this code from FoxPro for Windows to FoxPro for MS- DOS.
Type the following in the Command window:
DEFINE WINDOW Screen1 FROM 1,1 TO 10,10
Additional reference words: 2.60 2.60a FoxDos buglist2.60 buglist2.60a
errmsg user defined
KBCategory: kbprg kbbuglist kberrmsg
KBSubcategory: FxprgUdwindow
Last Reviewed: April 28, 1995