|
| Iniciado por Alain LACLEF, 12,oct. 2018 14:07 - No hay respuesta |
| |
| | | |
|
| |
Miembro registrado 82 mensajes |
|
| Publicado el 12,octubre 2018 - 14:07 |
Bonjour à tous
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). Le carré s'affiche mais disparaît immédiatement ! Ben pourquoi ? Sinon connaissez vous une API GDI Carré/Rectangle?
Edit : J'ai trouvé l'API rectangle. Quelqu'un a un exemple avec Rectangle,Brush et tout ce qu'il faut?
Merci
POUR i=-25 A 25 POUR J=-25 A 25 SI API("gdi32","SetPixel",iDC,300 + i,300+ J,RougeFoncé) = -1 ALORS Info ("Erreur") FIN FIN FIN |
| |
| |
| | | |
|
| | | | |
| | |
|