Re: Aero Glass Effekt für Delphi-Forms
Bin schon (lange) zu einer Lösung gekommen, aber das wird niemanden gefallen, deshalb suche ich nach einer besseren Lösung und das wird wohl noch etwas dauern.
Wen's interessiert, die Lösung ist, dass man SetLayeredWindowAttributes nicht mehr verwendet. Das hat zur Folge, dass dort wo es schwarz ist, wird das Glass angewendet. Da aber Delphi, GDI und nicht GDI+ verwendet, wird es schwierig sein eine Lösung zu finden, denn GDI kann kein ARGB, d.h. leider macht u.a. Vista den Alpha-Teil = 0 für GDI (nicht Plus). Das bedeutet wiederrum, dass aber 0 für volle Transparenz steht (da verstehe ich MS nicht???). Wie auch immer, der Glass-Effekt wird aber auf Schwarz (bis vor kurzem auch alle anderen Farben) mit Alpha=0 angewendet. Somit würde das Glass auf normalen GDI Anwendungen gehen, nur leider auch in Textboxen und anderen Controls, die Schwarz verwenden. Hätte nur MS in beiden Fällen Alpha=255 gewählt oder zumindest beim DWM die freie Wahl gelassen. Mit SetLayeredWindowAttributes konnte man dieser GDI vs. ARGB entgegensteuern, nur hat MS dort seit 5536 was geändert das sich SetLayeredWindowAttributes mit DWM nicht mehr so richtig verträgt. Mal sehen ob es da eine Lösung gibt, ich suchen... |
Re: Aero Glass Effekt für Delphi-Forms
Das ist aber sehr enteuschend , habe die Version 5728 und bleibt auch alles schwarz.
:cry: gruss seba |
Re: Aero Glass Effekt für Delphi-Forms
Hat schon jemand ne richtige Lösung?
Ich habs mal ohne "SetLayeredWindowAttributes" versucht, aber so wirklich der bringer isses ja nu nicht. Ich würd mir wünschen wenns eine richtige Lösung gäbe! |
Re: Aero Glass Effekt für Delphi-Forms
Hi,
Sorry for the English - my German is non-existent! I was looking for someone who could help fix this component? I am trying it on the latest RC2 of Vista and its showing black instead of glass... I would like to hire a developer who will fix and enhance the component as follows: 1) Make sure the glass effects are proper 2) Allow the glass color to be tinted in a particular color (ex: pink, green, etc) 3) Make sure that when objects are placed on glass regions, they render properly 4) Especially for plain text objects on glass, and other objects as possible, allow for a mechanism whereby they can be painted with a background glow (like the captions of Windows on Vista) so they are easier to read My budget is $500. Please contact me at mimarsinan@gmail.com directly, post back here, or send PMs (in that order of priority) if you can do all 4 steps above. Thank you! |
Re: Aero Glass Effekt für Delphi-Forms
noch immer nichts neues? oô
|
Re: Aero Glass Effekt für Delphi-Forms
Jop. Find die Komponente richtig gut! Hoffe es wird bald gefixt.
|
Re: Aero Glass Effekt für Delphi-Forms
Wurde inzwischen eine Lösung gefunden? Oder gibts ne andere Methode, den Glasseffekt auf das ganze Formular auszuweiten?
|
Re: Aero Glass Effekt für Delphi-Forms
Zitat:
Kleine Anmerkung: Kann man die GDI-Calls application-wide hooken und durch GDI+-Calls ersetzen? |
Re: Aero Glass Effekt für Delphi-Forms
Hallo,
Zitat:
Gruß xaromz |
Re: Aero Glass Effekt für Delphi-Forms
Ok, das wusste ich nicht :)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:23 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz