SetLayeredWindowAttributes
-
Hallo,
Ist es möglich mit SetLayeredWindowAttributes einzelne Steuerelemente alphazublenden? Zum Beispiel eine Schaltfläche ?
Gruß Ronny
-
Hi!
Also ich meine ich habe mal gelesen, daß es nicht geht für einzelne Schaltflächen. Obwohl diese ja von CWnd abgeleitet sind. Ich habe das gerade einfach mal versucht mit einem Button und dabei bekam ich schon nen Fehler bei SetWindowLong();
Würde mich aber auch einmal interessieren. Ist bestimmt ein nettes Feature für Textfelder. Hast Du schon etwas in die Richtung versucht?
-
[in] Handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.
-
Und jetzt der entscheidene Zusatz:
WS_EX_LAYERED
Windows 2000/XP: Creates a layered window. Note that this cannot be used for child windows.
-
Danke!
Schade das es nicht geht!Gruß Ronny