How to Tell if a Window Is Defined as Mac Desktop Style

ID: Q110118

The information in this article applies to:

  • Microsoft FoxPro for Macintosh, version 2.5b
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SUMMARY

Windows created in FoxPro for Macintosh can be defined as residing on the Macintosh desktop, which is a state that does not exist in Windows or MS-DOS.

The WPARENT() command in FoxPro for Macintosh has been updated to return "MACDESKTOP" if the window being checked is a Macintosh desktop style window.

MORE INFORMATION

For example, if the window titled "Updates" were a Macintosh desktop window, its status could be checked by issuing the following command:

     WPARENT("Updates")

The text string "MACDESKTOP" would be returned.

REFERENCES

For additional information about this subject, refer to the "Installation and Macintosh Features Guide," the "Language Reference," and the help topics for WPARENT(), DEFINE WINDOW, ACTIVATE WINDOW, and SET MACDESKTOP.

Additional reference words: VFoxMac 3.00b FoxMac 2.50b KBCategory: kbprg KBSubcategory:


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