Manifest Win8-aware

Grafische Primitive, XbaseParts und Darstellungsfragen allgemein.

Moderator: Moderatoren

Antworten
Benutzeravatar
AUGE_OHR
Marvin
Marvin
Beiträge: 12903
Registriert: Do, 16. Mär 2006 7:55
Wohnort: Hamburg
Hat sich bedankt: 19 Mal
Danksagung erhalten: 44 Mal

Manifest Win8-aware

Beitrag von AUGE_OHR »

hi,

um ein Dialog Fenster transparent zu machen benötigt man die Style WS_EX_LAYERED
https://msdn.microsoft.com/en-us/librar ... ayered_win

ich war auf der Suche wie man ein einzelnes Child transparent machen könnte was unter Win8 möglich sein soll.
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
"Windows 8: The WS_EX_LAYERED style is supported for top-level windows and child windows.
Previous Windows versions support WS_EX_LAYERED only for top-level windows."
dabei stiess ich dann auf das Manifest Attribut "supportedOS" https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

Code: Alles auswählen

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
      <application> 
        <!--This Id value indicates the application supports Windows Vista functionality -->
          <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
        <!--This Id value indicates the application supports Windows 7 functionality-->
          <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
        <!--This Id value indicates the application supports Windows 8 functionality-->
          <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
        <!--This Id value indicates the application supports Windows 8.1 functionality-->
          <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      </application> 
  </compatibility>
was noch fehlt ist Win10

Code: Alles auswählen

<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> 
nun wird mir auch klar warum manche visuellen Effekte (Theme) mit Xbase++ unter Win7/8 nicht funktionierten ...
gruss by OHR
Jimmy
Antworten