hi,
weiß jemand wie ich GUICtrlCreateGraphic etwas transparent machen kann?
C
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Include <WinAPI.au3>
#include <ColorConstantS.au3>
$Form1 = GUICreate("Form1", 200, 200, 663, 317, -1, $WS_EX_LAYERED)
GUISetBkColor(0x0000F4)
_WinAPI_SetLayeredWindowAttributes($Form1, 0x0000F4)
GUICtrlCreateGraphic(0, 100, 200, 4)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlCreateGraphic(0, 50, 200, 4)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlCreateGraphic(0, 150, 200, 4)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlCreateGraphic(100, 0, 4, 200)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlCreateGraphic(50, 0, 4, 200)
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlCreateGraphic(150, 0, 4, 200)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Alles anzeigen