<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>5 Apr 2019 05:23:01 Z</lastBuildDate><pubDate>12 Oct 2018 14:07:01 Z</pubDate><description>Bonjour à tous &#13;
&#13;
mon code à pour but d'afficher à l'écran et pas sur un appli Windev (Un jeu en fait) un carré de couleur permettant de connaitre l'état d"une appli Windev qui automatise mon jeu (Rouge, l'appli ne tourne pas, Vert l'appli tourne).&#13;
Le carré s'affiche mais disparaît immédiatement ! Ben pourquoi ? &#13;
Sinon connaissez vous une API GDI Carré/Rectangle?&#13;
&#13;
Edit : J'ai trouvé l'API rectangle. Quelqu'un a un exemple avec Rectangle,Brush et tout ce qu'il faut?&#13;
&#13;
Merci &#13;
&#13;
[code:wl]&#13;
	POUR i=-25 A 25&#13;
		POUR J=-25 A 25&#13;
			SI API("gdi32","SetPixel",iDC,300 + i,300+ J,RougeFoncé) = -1 ALORS&#13;
				Info ("Erreur")&#13;
			FIN&#13;
		FIN&#13;
	FIN&#13;
[/code]</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221079-api-gdi/read.awp</link><title>API GDI</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
