<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Oct 2019 10:39:23 Z</lastBuildDate><pubDate>6 Dec 2008 00:50:04 Z</pubDate><description>Bonjour,&#13;
&#13;
Pour éteindre l'écran j'ai trouvé cette commande :&#13;
&#13;
Code du projet :&#13;
[code]&#13;
EXTERNE "WinConst.wl"&#13;
EXTERNE "KeyConst.wl"&#13;
&#13;
CONSTANT&#13;
	ECRAN_ON	=	0&#13;
	ECRAN_OFF	=	1&#13;
FIN&#13;
[/code]&#13;
Clic sur un bouton (pour test) :&#13;
[code]&#13;
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, ECRAN_OFF);&#13;
[/code]&#13;
&#13;
J'ai juste un pb avec la constante SC_MONITORPOWER dont je ne connais pas la valeur.&#13;
&#13;
Quelqu'un peut il m'aider ?? Meilleur solution ??&#13;
Merci à tous.</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp</link><title>Eteindre l'écran d'un PC portable</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>ablanc</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-233651/read.awp</comments><pubDate>14 Oct 2019 10:39:23 Z</pubDate><description>Bonjour,&#13;
&#13;
Attention, cette commande semble fonctionner différemment avec Windows 10 : elle verrouille la session Windows au li…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-233651/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-233651/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item><item><author>Bertin - Zen-Project</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-192722/read.awp</comments><pubDate>5 Mar 2016 19:20:43 Z</pubDate><description>Attention&#13;
[code:wl]&#13;
&#13;
CONSTANT&#13;
ECRAN_ON=-1&#13;
ECRAN_LowPower=1&#13;
ECRAN_OFF=2&#13;
FIN&#13;
[/code]&#13;
&#13;
--&#13;
Bertin CARRIERE&#13;
Consultant &amp; …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-192722/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-192722/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item><item><author>cbeziau</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104009/read.awp</comments><pubDate>6 Dec 2008 20:38:50 Z</pubDate><description>Merci beaucoup</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104009/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104009/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item><item><author>eric</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104007/read.awp</comments><pubDate>6 Dec 2008 18:16:43 Z</pubDate><description>SC_MONITORPOWER est un entier = 0xF170</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104007/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-104007/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item><item><author>cbeziau</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103999/read.awp</comments><pubDate>6 Dec 2008 12:25:46 Z</pubDate><description>Ca se traduit comment avec WinDev ??</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103999/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103999/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item><item><author>eric</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103997/read.awp</comments><pubDate>6 Dec 2008 11:24:26 Z</pubDate><description>Bonjour,&#13;
&#13;
J'ai trouvé ça :&#13;
&#13;
http://msdn.microsoft.com/en-us/library/ms646360(VS.85).aspx&#13;
&#13;
WM_SYSCOMMAND = &amp;H112&#13;
Public En…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103997/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable-103997/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/103990-eteindre-ecran-portable/read.awp">Eteindre l'écran d'un PC portable</source><title>Re: Eteindre l'écran d'un PC portable</title></item></channel></rss>
