![]() |
Re: Aero Glass Effekt für Delphi-Forms
Zitat:
Ich habe das ganze jetzt in eine Komponente gepackt, somit fällt das OnActivate oder ähnliches weg. Geht soweit auch gut, nur wie jbg bereits erwähnte, kann man die Form nicht mehr anklicken. Das liegt an der Funktion SetLayeredWindowAttributes, somit wird das Fester bei der Farbe X (clFuchsia) transparent und die Events gehen durch auf das darunterliegente Fenster. Gibts da ne Möglichkeit die Transparenttechnik (nicht Alpha/Teiltransparenz) von SetLayeredWindowAttributes so zu benutzen, dass es nicht durch geht. |
Re: Aero Glass Effekt für Delphi-Forms
Hat jemand die winuser.h aus dem letztem Vista SDK (glaube July CTP)?
Ich brauche den Wert für WM_DWMCOMPOMPOSITIONCHANGED. Da das SDK >1GB ist, wollte ich es nicht erst downloaden wegen der Header-Datei. |
Re: Aero Glass Effekt für Delphi-Forms
Delphi-Quellcode:
const
WM_DWMCOMPOSITIONCHANGED = $031E; WM_DWMNCRENDERINGCHANGED = $031F; WM_DWMCOLORIZATIONCOLORCHANGED = $0320; WM_DWMWINDOWMAXIMIZEDCHANGE = $0321; |
Re: Aero Glass Effekt für Delphi-Forms
Super Danke
|
Re: Aero Glass Effekt für Delphi-Forms
Liste der Anhänge anzeigen (Anzahl: 3)
Habe nun alles in eine Komponente gepackt, zusätzlich wurden noch ein paar Features hinzugefügt und einige Fehler bereinigt.
|
Re: Aero Glass Effekt für Delphi-Forms
Hi,
bitte trenne den ursprünglichen Code und die Komponente voneinander. Für die Komponente ist die entsprechende ![]() Den Ausgangscode würden wir jedoch gerne als Solchen in korrigierter Form in die Code-Lib übernehmen. Danke, Chris |
Re: Aero Glass Effekt für Delphi-Forms
Wegen dem "Durchklicken"...
hab das in PSDK gefunden, vielleicht hilft das ja och noch etwas mit?
Delphi-Quellcode:
WS_EX_TRANSPARENT
Hit testing of a layered window is based on the shape and transparency of the window. This means that the areas of the window that are color-keyed or whose alpha value is zero will let the mouse messages through. However, if the layered window has the WS_EX_TRANSPARENT extended window style, the shape of the layered window will be ignored and the mouse events will be passed to other windows underneath the layered window. |
Re: Aero Glass Effekt für Delphi-Forms
Zitat:
|
Re: Aero Glass Effekt für Delphi-Forms
Müsstest du hier nicht eine 6 als Versionsnummer eintragen:
Delphi-Quellcode:
Quelle: constructor TAeroGlass.Create(AOwner: TComponent);
if (GetVersionEx(osVInfo)) and
(osVinfo.dwPlatformId = VER_PLATFORM_WIN32_NT) and (osVinfo.dwMajorVersion >= 6)) then |
Re: Aero Glass Effekt für Delphi-Forms
Stimmt. Danke ich werts ändern.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:02 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz