0/5 (15 avis)
Snippet vu 5 839 fois - Téléchargée 49 fois
Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd As Long, ByVal hWndChild As Long, ByVal lpszClassName As String, ByVal lpszWindow As String) As Long 'Apparaître Ret = SetWindowPos(FindWindow("Shell_traywnd", ""), 0, 0, 0, 0, 0, &H40) 'CACHER Ret = SetWindowPos(FindWindow("Shell_traywnd", ""), 0, 0, 0, 0, 0, &H80)
25 août 2007 à 22:20
19 janv. 2006 à 11:51
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal y As Long, ByVal cX As Long, ByVal cY As Long, ByVal wFlags As Long) As Long
Const SWP_HIDEWINDOW = &H80
Const SWP_SHOWWINDOW = &H40
Donc rectification ce code marche fonctionne très bien sur xp, note: 8/10
(je ne mettrais pas 10 vu qu'il n'y a pas de création personnelle dans une api)
19 janv. 2006 à 11:35
11 janv. 2006 à 00:42
10 janv. 2006 à 19:20
Vous n'êtes pas encore membre ?
inscrivez-vous, c'est gratuit et ça prend moins d'une minute !
Les membres obtiennent plus de réponses que les utilisateurs anonymes.
Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.
Le fait d'être membre vous permet d'avoir des options supplémentaires.