PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • VGA and non-VGA resolution
  • Equivalence
  • Operating mode in GO mode and at run time
  • Resolution of the multi-screen configurations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the horizontal screen resolution.
WEBDEV - Browser code Returns the horizontal resolution of the screen of Web user.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
WINDEV Mobile This function is now available for the Windows Phone applications.
New in version 17
WINDEV Mobile This function is now available for the Windows Phone applications.
WINDEV Mobile This function is now available for the Windows Phone applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
New in version 18
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
Example
// Horizontal screen resolution
ResHorizRes = SysXRes()
Syntax
<Result> = SysXRes()
<Result>: Integer
Horizontal screen resolution.
Remarks
Windows Mobile

VGA and non-VGA resolution

SysXRes and SysYres do not return the same value if these functions are used in a VGA executable on a VGA Mobile or in a non-VGA executable.
Use in a non-VGA EXE on a VGA Pocket:
  • SysXRes returns 240
  • SysYRes returns 320
Use in a VGA EXE on a VGA Pocket:
  • SysXRes returns 480
  • SysYRes returns 640
Note: A non-VGA executable can be used on a VGA Mobile or on a non-VGA Mobile. This allows you to create several executables (VGA and non-VGA), to run the executable according to the configuration of Mobile.
Windows Mobile

Equivalence

The operating mode of SysXRes is equivalent to the operating mode of ceXRes.
The only difference is:
  • SysXRes returns the horizontal resolution of Pocket PC screen from a WINDEV Mobile application.
  • ceXRes returns the horizontal screen resolution of Pocket PC from a WINDEV application.
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), the window must be found on the development computer.
At run time, the window must be found on the Pocket PC.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
WINDEV

Resolution of the multi-screen configurations

In the multi-screen configurations, SysListVideoCard, SysListScreen and SysScreenResolution must be used to get the maximum resolution in a given dimension.
Related Examples:
WWPocket Training (WEBDEV): WWPocket
[ + ] This example is a site that can be viewed on a Pocket PC. The site detects the resolution of the user and displays the pages consequently.
Components
WINDEVReports and Queries wd230std.dll
Windows Mobile wp230std.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment