Microsoft KB Archive/110118

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

Article ID: 110118

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft FoxPro 2.5b for Macintosh
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q110118



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.

