The information in this article applies to:
SUMMARYWhile the ability to provide graphical screens in FoxPro for Windows applications can enhance appearance of the interface, using these screens may also require additional coding to handle differences in monitor resolutions. Below is one method of handling this situation that uses separate screens created under each of the potential screen resolutions. MORE INFORMATION
This method is best suited to applications that use a minimal number of
screens. For large numbers of screens, we recommend that they all be
created under the lowest resolution to ensure that they will be visible at
higher resolutions.
The SYSMETRIC(1) function returns the width of the current screen
resolution, which is tested against 640 to see if the resolution is VGA. If
so, "LO" is concatenated to "_RES.SPR", and the LO_RES.SPR file is then
executed. If the resolution is not VGA, the HI_RES.SPR file is executed
instead.
Additional query words: VFoxWin FoxWin 2.50 font conditional off video resolution design
|
|
Last Reviewed: August 25, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |