was stimmt an
[autoit]$Form1 = GUICreate("", 341, 369, 0, 0, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_MDICHILD), $Form2)
[/autoit]nicht ?
Es wird hier nur Form2 angezeigt warum ?!
was stimmt an
[autoit]$Form1 = GUICreate("", 341, 369, 0, 0, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_MDICHILD), $Form2)
[/autoit]nicht ?
Es wird hier nur Form2 angezeigt warum ?!
poste mal bitte den ganzen code. bzw einen lauffähigen ausschnitt. am besten nur die gui
#include <WindowsConstants.au3>
#include <GuiIPAddress.au3>
$Struct = DllStructCreate("int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight;")
$sStruct = DllStructCreate("dword;int;ptr;int")
$Form1_aero=GUICreate("Title",323, 56, 341, 369)
_vista_applyglass($Form1_aero)
$Form1 = GUICreate("", 341, 369, 0, 0, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_MDICHILD), $Form1_aero)
$input11 = _GUICtrlIpAddress_Create($Form1, 64, 16, 121, 21)
_GUICtrlIpAddress_Set($input11, "0.0.0.0")
$Label11 = GUICtrlCreateLabel("Label1", 8, 16, 51, 17)
$Button11 = GUICtrlCreateButton("Label2", 208, 16, 75, 25, 0)
GUISetState(@SW_SHOW,$Form1_aero)
GUISetState(@SW_SHOW,$Form1)
while 1
Sleep(10)
WEnd
Func _Vista_ApplyGlass($hWnd, $bColor = 0x000000)
GUISetBkColor($bColor); Must be here!
$Ret = DllCall("dwmapi.dll", "long", "DwmExtendFrameIntoClientArea", "hwnd", $hWnd, "long*", DllStructGetPtr($Struct))
If @error Then
Return 0
SetError(1)
Else
Return $Ret
EndIf
EndFunc ;==>_Vista_ApplyGlass
[/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit]soll ein aeroglass effekt fenster werden
oh egtl steht die antwort schon in deinem ersten post sry.
$WS_EX_LAYERED 0x00080000 Erstellt ein Fenster mit mehreren Schichten. Es ist zu beachten, dass dieser Stil nicht für „child“-Fenster verwendet werden kann.
aus der hilfe
ok danke ...
wobei ich denausschnitt aus einem anderen funktionierenden programm genommen hab