PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
SysNameMainScreen (Function)
In French: SysNomEcranPrincipal
Returns the name of the main screen for the computer.
Example
// Displays the name of the main screen
Info(SysNameMainScreen())
// Displays for example: \\.\DISPLAY2\Monitor2 Plug-and-Play screen
Syntax
<Result> = SysNameMainScreen()
<Result>: Character string
  • Name of the main screen,
  • Empty string ("") if an error occurred.
Remarks
This function cannot be used in Windows NT4.
Related Examples:
The system functions (screens) Unit examples (WINDEV): The system functions (screens)
[ + ] Using the SysXxx functions on the screens in order to get various information:
- Retrieve the number of screens installed on the computer
- Retrieve the graphic cards installed on the computer
- Change the resolution of a screen
- ...
Components
WINDEVReports and Queries wd230std.dll
Linux wd230std.so
See also
Minimum required version
  • Version 12
This page is also available for…
Comments
NOME DO MONITOR
EDT_NOME_MONITOR_PRINCIPAL=SysNameMainScreen()

// Retorna o nome da tela principal para o computador.
// Returns the name of the main screen for the computer.
// Devuelve el nombre de la pantalla principal del equipo.

// BLOG COM VIDEO E EXEMPLO PEGAR NOME DO MONITOR

http://windevdesenvolvimento.blogspot.com.br/2017/08/aula-1234-windev-monitor-002.html

https://www.youtube.com/watch?v=AP-jXQvK7yg

De matos
Aug. 07 2017