COMMENT CACHER LA FENETRE D'UN PROG ACTIF???

nico - 1 oct. 2001 à 20:57
cs_chris57700 Messages postés 8 Date d'inscription samedi 8 octobre 2005 Statut Membre Dernière intervention 8 décembre 2005 - 25 nov. 2005 à 10:00
comment fait t'on pour cacher la fentre d'un programme actif genre aol, dap,...
merci de vos reponse, je galere!!

2 réponses

xpwindaube Messages postés 14 Date d'inscription vendredi 28 mai 2004 Statut Membre Dernière intervention 10 décembre 2004
16 nov. 2004 à 19:08
_à metre dans un module:

Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function showwindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

_à metre dans un bouton pr cacher la fenetre AOL:

Dim AOL
AOL = FindWindow("AOL Frame25", vbNullString)
Call showwindow(AOL, 0)
Bonne prog' a tous ! ;-)

-à metre dans un autre bouton pr monter la fentre:

Dim AOL
AOL = FindWindow("AOL Frame25", vbNullString)
Call showwindow(AOL, 1)
0
cs_chris57700 Messages postés 8 Date d'inscription samedi 8 octobre 2005 Statut Membre Dernière intervention 8 décembre 2005
25 nov. 2005 à 10:00
le prog ou AOL?
Pour aol cherche sur vbfrance il y a une source et pour le prog tu mets visible = false
0
Rejoignez-nous