von NiFu » 19.06.2012, 11:00
beatmaster hat geschrieben:Gerade den Positionswechsel bin ich aktuell auf der Spur und vielleicht kann da ja jemand den entscheidenen Tip geben, wo man ansetzen kann.
Mit " Positionswechsel" kann ich nicht dienen - aber mit "deaktivieren" der CharmBar.
Das Programm funktionierte unter Windows 8 Consumer Preview einwandfrei. Aber leider nicht mehr fehlerfrei unter Windows 8 Release Preview.
moinmoin hat geschrieben:Der Text selber sollte in der twinui.dll.mui sein.
Richtig. Dort steht der deutsche Text. Die Chrambar selbst ist in der "twinui.dll" in C:\Windows\system32\ enthalten. Bei Verwendung von "My WCP CharmBar Customizer" wird von "twinui.dll" eine Kopie gemacht ("twinui.dll.bak") und die Änderungen dann in "twinui.dll" vorgenommen. Deshalb kann man auch jederzeit mit "Restore default settings" den Ausgangszustand wiederherstellen.
Windows 8 Consumer Preview und "My WCP CharmBar Customizer":
Mit "My WCP CharmBar Customizer" hat man über "Advanced: Edit UI File" Zugriff auf diesen Inhalt:
Code: Alles auswählen
<duixml>
<Element active="keyboard|mouse|pointer" sheet="CharmStyle" resid="main" id="Atom(CharmBarHost)" layout="BorderLayout()" margin="rect(0rp,0rp,0rp,0rp)" padding="rect(0rp,0rp,0rp,0rp)" behaviors="PVL::AnimationTrap()" background="ARGB(0,0,0,0)" accessible="true">
<Element layout="borderlayout()" active="keyboard|mouse|pointer" id="Atom(CharmBarAnimHost)" layoutpos="top">
<Element layout="borderlayout()" layoutpos="absolute" active="keyboard|mouse|pointer" id="Atom(CharmBar)">
<Element EdgeHighlightColor="ImmersiveHardwareCharmsBarText" sheet="CharmStyle" id="Atom(BackgroundPiece)" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" width="86rp" x="0" y="0"/>
</Element>
</Element>
</Element>
<Element sheet="CharmStyle" resid="BaseTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="62rp" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)"/>
<Element id="Atom(charmgrayicon)" width="86rp" height="62rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="38rp" accrole="statictext" baseline="16rp" linespacing="32rp" contentalign="endellipsis|topcenter" padding="rect(0rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseWideTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="50rp" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)"/>
<Element id="Atom(charmgrayicon)" width="86rp" height="50rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="50rp" accrole="statictext" contentalign="endellipsis|topcenter|wrapleft" padding="rect(0rp,4rp,0rp,4rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="SpecialStartCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="62rp" contentalign="middlecenter" accrole="graphic" padding="rect(12rp,14rp,12rp,0rp)" layout="filllayout()">
<Element layout="filllayout()" id="atom(logobackground)" width="62rp" height="48rp">
<Element id="Atom(smoothedicon)" width="65rp" height="48rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" background="ARGB(0,0,0,0)" accrole="graphic" direction="0" padding="rect(17rp,0rp,0rp,0rp)">
<Element id="atom(logopane)" width="62rp" height="42rp" layoutpos="absolute" x="0" y="3rp">
<Element id="Atom(flagwash)" width="246rp" height="246rp" background="ARGB(0,0,0,0)" layoutpos="absolute" x="-246rp" y="-101rp"/>
</Element>
</Element>
</Element>
<Element id="atom(logopaneframeX)" width="86rp" height="2rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="0" y="37rp"/>
<Element id="atom(logopaneframeY)" width="2rp" height="62rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="42rp" y="0"/>
</Element>
<Element id="Atom(charmgrayicon)" width="86rp" height="62rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="38rp" accrole="statictext" baseline="16rp" linespacing="32rp" contentalign="endellipsis|topcenter" padding="rect(0rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseWideStartTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="50rp" contentalign="middlecenter" accrole="graphic" padding="rect(12rp,2rp,12rp,0rp)" layout="filllayout()">
<Element layout="filllayout()" id="atom(logobackground)" width="62rp" height="48rp">
<Element id="Atom(smoothedicon)" width="65rp" height="48rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" direction="0" padding="rect(17rp,0rp,0rp,0rp)">
<Element id="atom(logopane)" width="62rp" height="42rp" layoutpos="absolute" x="0" y="3rp">
<Element id="Atom(flagwash)" width="246rp" height="246rp" background="ARGB(0,0,0,0)" layoutpos="absolute" x="-246rp" y="-101rp"/>
</Element>
</Element>
</Element>
<Element id="atom(logopaneframeX)" width="86rp" height="2rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="0" y="26rp"/>
<Element id="atom(logopaneframeY)" width="2rp" height="50rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="42rp" y="0"/>
</Element>
<Element id="Atom(charmgrayicon)" width="86rp" height="50rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="50rp" accrole="statictext" contentalign="endellipsis|topcenter|wrapleft" padding="rect(0rp,4rp,0rp,4rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseMouseStartCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="54rp" height="40rp" behaviors="PVL::AnimationTrap()" tooltip="false" padding="rect(0rp,4rp,0rp,9rp)">
<Element id="atom(charmicon)" width="41rp" height="40rp" accrole="graphic" padding="rect(13rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<stylesheets>
<style resid="CharmStyle">
<RichText font="resstr(7121, library(twinui.dll))" foreground="ImmersiveHardwareCharmsBarText"/>
<TouchButton padding="rect(0rp,0rp,0rp,0rp)" margin="rect(0rp,0rp,0rp,0rp)" background="ARGB(0,0,0,0)"/>
</style>
</stylesheets>
</duixml>
Wenn man das UI File bis auf diese Einträge löscht (und dann "Apply new settings"), dann ist die CharmBar nicht mehr vorhanden:
Windows 8 Release Preview und "My WCP CharmBar Customizer":
Da bringt "My WCP CharmBar Customizer" einen .NET-Framework-Fehler. Das liegt aber nicht am .NET-Framework, sondern am Inhalt des UI Files. Den .NET-Framework-Fehler kann man einfach mit "Weiter" übergehen.
Bei "Advanced: Edit UI File" erhält man dann aber nur noch Hieroglyphen. Trotzdem: Wenn man das UI File bis auf diese Einträge löscht (und dann "Apply new settings"), dann ist die CharmBar nicht mehr vorhanden:
Alle anderen "Bars" (TeilenBar, SuchenBar, EinstellungenBar, etc.) sind weiterhin vorhanden und können über die jeweiligen Tastaturkürzel aufgerufen werden. Es entfällt also nur "Windows-Taste + C" bzw. "Maus in rechter, oberer Ecke".
Meine Interpretation:
Während in Windows 8 Consumer Preview in der "twinui.dll" noch "Klartext" vorhanden war, ist der Text in Windows 8 Release Preview "verschlüsselt". Entweder hat Microsoft auf die "Manipulation" durch "My WCP CharmBar Customizer" reagiert und den Text verschlüsselt. Oder es ist einfach eine Code-Optimierung / Kompilierung.
[quote="beatmaster"]Gerade den Positionswechsel bin ich aktuell auf der Spur und vielleicht kann da ja jemand den entscheidenen Tip geben, wo man ansetzen kann.[/quote]Mit " Positionswechsel" kann ich nicht dienen - aber mit "deaktivieren" der CharmBar.
[quote="Vaeth"]Hab kein Win8 aber kannst ja mal dieses evtl versuchen: [url]http://download.chip.eu/en/My-WCP-CharmBar-Customizer_180551523.html[/url][/quote]Das Programm funktionierte unter Windows 8 Consumer Preview einwandfrei. Aber leider nicht mehr fehlerfrei unter Windows 8 Release Preview.
[quote="moinmoin"]Der Text selber sollte in der twinui.dll.mui sein.[/quote]Richtig. Dort steht der deutsche Text. Die Chrambar selbst ist in der "twinui.dll" in C:\Windows\system32\ enthalten. Bei Verwendung von "My WCP CharmBar Customizer" wird von "twinui.dll" eine Kopie gemacht ("twinui.dll.bak") und die Änderungen dann in "twinui.dll" vorgenommen. Deshalb kann man auch jederzeit mit "Restore default settings" den Ausgangszustand wiederherstellen.
[u][b]Windows 8 Consumer Preview und "My WCP CharmBar Customizer":[/b][/u]
Mit "My WCP CharmBar Customizer" hat man über "Advanced: Edit UI File" Zugriff auf diesen Inhalt:
[code]<duixml>
<Element active="keyboard|mouse|pointer" sheet="CharmStyle" resid="main" id="Atom(CharmBarHost)" layout="BorderLayout()" margin="rect(0rp,0rp,0rp,0rp)" padding="rect(0rp,0rp,0rp,0rp)" behaviors="PVL::AnimationTrap()" background="ARGB(0,0,0,0)" accessible="true">
<Element layout="borderlayout()" active="keyboard|mouse|pointer" id="Atom(CharmBarAnimHost)" layoutpos="top">
<Element layout="borderlayout()" layoutpos="absolute" active="keyboard|mouse|pointer" id="Atom(CharmBar)">
<Element EdgeHighlightColor="ImmersiveHardwareCharmsBarText" sheet="CharmStyle" id="Atom(BackgroundPiece)" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" width="86rp" x="0" y="0"/>
</Element>
</Element>
</Element>
<Element sheet="CharmStyle" resid="BaseTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="62rp" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)"/>
<Element id="Atom(charmgrayicon)" width="86rp" height="62rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="38rp" accrole="statictext" baseline="16rp" linespacing="32rp" contentalign="endellipsis|topcenter" padding="rect(0rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseWideTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="50rp" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)"/>
<Element id="Atom(charmgrayicon)" width="86rp" height="50rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="50rp" accrole="statictext" contentalign="endellipsis|topcenter|wrapleft" padding="rect(0rp,4rp,0rp,4rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="SpecialStartCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="62rp" contentalign="middlecenter" accrole="graphic" padding="rect(12rp,14rp,12rp,0rp)" layout="filllayout()">
<Element layout="filllayout()" id="atom(logobackground)" width="62rp" height="48rp">
<Element id="Atom(smoothedicon)" width="65rp" height="48rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" background="ARGB(0,0,0,0)" accrole="graphic" direction="0" padding="rect(17rp,0rp,0rp,0rp)">
<Element id="atom(logopane)" width="62rp" height="42rp" layoutpos="absolute" x="0" y="3rp">
<Element id="Atom(flagwash)" width="246rp" height="246rp" background="ARGB(0,0,0,0)" layoutpos="absolute" x="-246rp" y="-101rp"/>
</Element>
</Element>
</Element>
<Element id="atom(logopaneframeX)" width="86rp" height="2rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="0" y="37rp"/>
<Element id="atom(logopaneframeY)" width="2rp" height="62rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="42rp" y="0"/>
</Element>
<Element id="Atom(charmgrayicon)" width="86rp" height="62rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,14rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="38rp" accrole="statictext" baseline="16rp" linespacing="32rp" contentalign="endellipsis|topcenter" padding="rect(0rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseWideStartTouchCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="86rp" height="100rp" tooltip="false">
<Element id="Atom(charmicon)" width="86rp" height="50rp" contentalign="middlecenter" accrole="graphic" padding="rect(12rp,2rp,12rp,0rp)" layout="filllayout()">
<Element layout="filllayout()" id="atom(logobackground)" width="62rp" height="48rp">
<Element id="Atom(smoothedicon)" width="65rp" height="48rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" direction="0" padding="rect(17rp,0rp,0rp,0rp)">
<Element id="atom(logopane)" width="62rp" height="42rp" layoutpos="absolute" x="0" y="3rp">
<Element id="Atom(flagwash)" width="246rp" height="246rp" background="ARGB(0,0,0,0)" layoutpos="absolute" x="-246rp" y="-101rp"/>
</Element>
</Element>
</Element>
<Element id="atom(logopaneframeX)" width="86rp" height="2rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="0" y="26rp"/>
<Element id="atom(logopaneframeY)" width="2rp" height="50rp" layoutpos="absolute" background="ImmersiveHardwareCharmsBarBackground" x="42rp" y="0"/>
</Element>
<Element id="Atom(charmgrayicon)" width="86rp" height="50rp" layoutpos="absolute" x="0" y="0" contentalign="middlecenter" accrole="graphic" padding="rect(19rp,2rp,19rp,0rp)" visible="false"/>
<RichText id="Atom(charmtext)" width="86rp" height="50rp" accrole="statictext" contentalign="endellipsis|topcenter|wrapleft" padding="rect(0rp,4rp,0rp,4rp)"/>
</TouchButton>
</Element>
<Element sheet="CharmStyle" resid="BaseMouseStartCharm" layout="FlowLayout()" layoutpos="absolute" contentalign="middleleft">
<TouchButton id="Atom(charm)" layout="FlowLayout()" contentalign="middlecenter" accessible="true" accrole="pushbutton" width="54rp" height="40rp" behaviors="PVL::AnimationTrap()" tooltip="false" padding="rect(0rp,4rp,0rp,9rp)">
<Element id="atom(charmicon)" width="41rp" height="40rp" accrole="graphic" padding="rect(13rp,2rp,0rp,2rp)"/>
</TouchButton>
</Element>
<stylesheets>
<style resid="CharmStyle">
<RichText font="resstr(7121, library(twinui.dll))" foreground="ImmersiveHardwareCharmsBarText"/>
<TouchButton padding="rect(0rp,0rp,0rp,0rp)" margin="rect(0rp,0rp,0rp,0rp)" background="ARGB(0,0,0,0)"/>
</style>
</stylesheets>
</duixml>[/code]
Wenn man das UI File bis auf diese Einträge löscht (und dann "Apply new settings"), dann ist die CharmBar nicht mehr vorhanden:
[code]<duixml>
</duixml>[/code]
[u][b]Windows 8 Release Preview und "My WCP CharmBar Customizer":[/b][/u]
Da bringt "My WCP CharmBar Customizer" einen .NET-Framework-Fehler. Das liegt aber nicht am .NET-Framework, sondern am Inhalt des UI Files. Den .NET-Framework-Fehler kann man einfach mit "Weiter" übergehen.
Bei "Advanced: Edit UI File" erhält man dann aber nur noch Hieroglyphen. Trotzdem: Wenn man das UI File bis auf diese Einträge löscht (und dann "Apply new settings"), dann ist die CharmBar nicht mehr vorhanden:
[code]<duixml>
</duixml>[/code]
Alle anderen "Bars" (TeilenBar, SuchenBar, EinstellungenBar, etc.) sind weiterhin vorhanden und können über die jeweiligen Tastaturkürzel aufgerufen werden. Es entfällt also nur "Windows-Taste + C" bzw. "Maus in rechter, oberer Ecke".
[u][b]Meine Interpretation:[/b][/u]
Während in Windows 8 Consumer Preview in der "twinui.dll" noch "Klartext" vorhanden war, ist der Text in Windows 8 Release Preview "verschlüsselt". Entweder hat Microsoft auf die "Manipulation" durch "My WCP CharmBar Customizer" reagiert und den Text verschlüsselt. Oder es ist einfach eine Code-Optimierung / Kompilierung.