prout
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include <GuiListView.au3>
|
||||
#include <ButtonConstants.au3>
|
||||
#include <misc.au3>
|
||||
#include <ListViewConstants.au3>
|
||||
|
||||
_Singleton(@ScriptName)
|
||||
;commentaire de test pour git
|
||||
@ -55,7 +56,7 @@ GUICtrlCreateLabel("Domaine(s) :", 390, 25, 75, 30)
|
||||
GUICtrlSetColor(-1, $color)
|
||||
GUICtrlSetTip(-1, "Séparez les domaines par un |", "Domaines à rechercher")
|
||||
GUICtrlSetCursor(-1, 4)
|
||||
$searchDoamin = GUICtrlCreateInput("ac-nice.fr|ac-aix-marseille.fr", 470, 21, 140, 25)
|
||||
$searchDoamin = GUICtrlCreateInput("ac-nice.fr", 470, 21, 140, 25)
|
||||
GUICtrlSetFont(-1, 10, 500, Default, "Segoe UI")
|
||||
$refresh = GUICtrlCreateLabel("🔄", 610, 20, 30, 33)
|
||||
GUICtrlSetFont(-1, 15, 500, Default, "Segoe UI")
|
||||
@ -103,6 +104,7 @@ GUIctrlSetFont(-1,12, 600, Default, "Segoe UI")
|
||||
;~ $listview = GUICtrlCreateListView("Nom du Compte|Mail|Nom d'utilisateur|Dossier de stockage|Signature", 20, 220, 760, 250)
|
||||
$listview = GUICtrlCreateListView("Username|Account|ID|ServerID|Dossier de stockage|smtpID", 20, 220, 760, 250)
|
||||
GUICtrlSetFont(-1, 11, 500, Default, "Segoe UI")
|
||||
GUICtrlSetBkColor(-1, 0xff0000)
|
||||
GUICtrlSendMsg($ListView, $LVM_SETCOLUMNWIDTH, 0, -1) ; $LVSCW_AUTOSIZE
|
||||
GUICtrlSendMsg($ListView, $LVM_SETCOLUMNWIDTH, 1, -1) ; $LVSCW_AUTOSIZE
|
||||
GUICtrlSendMsg($ListView, $LVM_SETCOLUMNWIDTH, 2, -1) ; $LVSCW_AUTOSIZE
|
||||
@ -116,6 +118,11 @@ GUICtrlSendMsg($ListView, $LVM_SETCOLUMNWIDTH, 3, -2) ; $LVSCW_AUTOSIZE_USEHEADE
|
||||
guictrlsendmsg($ListView, $LVM_SETCOLUMNWIDTH, 4, -2) ; $LVSCW_AUTOSIZE_USEHEADER
|
||||
guictrlsendmsg($ListView, $LVM_SETCOLUMNWIDTH, 5, -2) ; $LVSCW_AUTOSIZE_USEHEADER
|
||||
|
||||
Global $hLV = GUICtrlGetHandle($ListView)
|
||||
|
||||
; Changer la couleur de fond du ListView (Ex: Bleu clair)
|
||||
_SendMessage($hLV, 0x1001, 0, 0xADD8E6) ; LVM_SETBKCOLOR avec couleur hexadécimale (LightBlue)
|
||||
_SendMessage($hLV, 0x1004, 0, 0xFFFFFF) ; LVM_SETTEXTBKCOLOR pour éviter un fond blanc sous le texte
|
||||
$go = GUICtrlCreateButton("🚀 Exécuter", 10, 490, 780, 60)
|
||||
GUICtrlSetBkColor(-1, $color2)
|
||||
GUICtrlSetColor(-1, 0xffffff)
|
||||
|
||||
Reference in New Issue
Block a user