CharmBar von Windows 8

Hier kommen eure Fragen zu Apps hinein. Sowie Stylingfragen die nicht in die anderen Kategorien passen.
Antworten
Mike
★ Team Blog ★
Beiträge: 415
Registriert: 11.03.2010, 15:24

CharmBar von Windows 8

Beitrag von Mike » 16.06.2012, 05:30

Mal kurz an die Modder un Win8 USer unter euch nachgefragt, ob sich schon jemand einmal an der Charmbar versucht hat. heißt Farbgebung ändern und vor Allem die Position.

Gerade den Positionswechsel bin ich aktuell auf der Spur und vielleicht kann da ja jemand den entscheidenen Tip geben, wo man ansetzen kann.

Gruß Mike

Tante Google

CharmBar von Windows 8

Beitrag von Tante Google » 16.06.2012, 05:30


Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 59837
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 131 Mal
Danke erhalten: 587 Mal
Gender:

Re: CharmBar von Windows 8

Beitrag von moinmoin » 16.06.2012, 08:30

Hi Mike, hab jetzt erst einmal alles "wichtige" in Win 8 auseinander genommen. Aber die CharmeBar war noch nicht darunter.

In der CP war es ja schon möglich mit einem Tool das Aussehen zu verändern. Aber ob das Teil auch in der RP funktioniert hab ich noch nicht getestet.

Benutzeravatar
Vaeth
Veteran
Veteran
Beiträge: 762
Registriert: 05.08.2010, 18:11

Re: CharmBar von Windows 8

Beitrag von Vaeth » 16.06.2012, 21:06

Hab kein Win8 aber kannst ja mal dieses evtl versuchen: http://download.chip.eu/en/My-WCP-Charm ... 51523.html
[schild]..doofe Technik..[/schild]

Mike
★ Team Blog ★
Beiträge: 415
Registriert: 11.03.2010, 15:24

Re: CharmBar von Windows 8

Beitrag von Mike » 17.06.2012, 20:16

Dank euch erstmal. Das Tool war mir bekannt, kann aber die Position letztlich nicht verändern. Die Icons der Charmbar und die Größe dieser ja - leider aber mehr auch nicht.
Ich schau mal weiter - wird ja in irgendeiner mui-Datei hinterlegt sein. Befürchte aber, dass das Microsoft "Hardecodiert" hat.

Gruß Mike

Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 59837
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 131 Mal
Danke erhalten: 587 Mal
Gender:

Re: CharmBar von Windows 8

Beitrag von moinmoin » 18.06.2012, 11:48

Der Text selber sollte in der twinui.dll.mui sein.

Mike
★ Team Blog ★
Beiträge: 415
Registriert: 11.03.2010, 15:24

Re: CharmBar von Windows 8

Beitrag von Mike » 18.06.2012, 19:35

Da haste Recht.

Schau mal hier mein Artikle vom April: http://beatmasters-winlite-blog.de/?p=16625

Deswegen gehe ich auch davon aus, dass dort die Lage der Charnbar definiert werden kann. U.a. sind in der twinui.dll auch die ganzen Icons drin für die Charmbar.

Gruß Mike

Benutzeravatar
NiFu
Fragensteller
Fragensteller
Beiträge: 17
Registriert: 07.06.2012, 13:02

Re: CharmBar von Windows 8

Beitrag 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.
Vaeth hat geschrieben:Hab kein Win8 aber kannst ja mal dieses evtl versuchen: http://download.chip.eu/en/My-WCP-Charm ... 51523.html
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:

Code: Alles auswählen

<duixml>
</duixml>
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:

Code: Alles auswählen

<duixml>
</duixml>
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.

Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 59837
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 131 Mal
Danke erhalten: 587 Mal
Gender:

Re: CharmBar von Windows 8

Beitrag von moinmoin » 19.06.2012, 12:17

Nur wenn ich mir den Text so anschaue, zeigt die Twinui.dll nur den Inhalt der Charm Bar an nicht die Position. Die ist wohl in einer übergeordneten dll, xml oder was auch immer gespeichert. Bzw. wie Mike schon sagte "Hardcoded".

Antworten