VistaStyleBuilder

Help => Windows 7 => Topic started by: JoCe-from-France on April 26, 2012, 09:49:34 pm



Title: [RESOLVED] IE9 Frame Notification Bar
Post by: JoCe-from-France on April 26, 2012, 09:49:34 pm
Tagged as "DirectUIHWND" with spy++, although I've got the string of the text, I've not cought it in ieframe.dll or ieframe.mui.dll.
Anyone ??




Title: Re: IE9 Frame Notification Bar
Post by: JoCe-from-France on April 30, 2012, 10:47:32 pm
"hardcoded" : I hate this word


Title: Re: IE9 Frame Notification Bar
Post by: Panda X on May 01, 2012, 12:04:57 am
It's in one of those UIFiles in ieframe.dll

Whenever you see DirectUIHWND it's in a UIFILE.


Title: Re: IE9 Frame Notification Bar
Post by: JoCe-from-France on May 01, 2012, 12:59:17 pm
I'm afraid that 20743 is the only UIFILE that appeared inside resource spy when this "window" poped in ie9 x64

I've replaced it with a empty one : the effect is that only the tabs & tab bar, as well as the url history dropdown did not show up anymore.



Title: Re: IE9 Frame Notification Bar
Post by: 3am on May 01, 2012, 02:00:13 pm
Open UIFILE 20497 and make the following change ( I changed background to red):

  
(http://i632.photobucket.com/albums/uu41/3am_2009/c2-25.png)

And you'll get this:


(http://i632.photobucket.com/albums/uu41/3am_2009/Capture-117.png)

The code is right at the beginning of the UIFILE. I don't see the orange bar on the top anywhere though.

Get rid of that orange bar by reducing it's height to 0rp here:


(http://i632.photobucket.com/albums/uu41/3am_2009/c2-26.png)


To get this:

(http://i632.photobucket.com/albums/uu41/3am_2009/Capture-118.png)


Title: Re: IE9 Frame Notification Bar
Post by: JoCe-from-France on May 01, 2012, 08:26:50 pm
Too Nice! Thanx 3am! Just when I was about to give up  :)
I should have started Res Spy before opening ie9, and not just before clicking. This way 4 UIFILES appear : 20497 (the good one!), 20743 (...), 20738 and 50248.

My problem was the text :
(http://img804.imageshack.us/img804/8241/iewarningraw.png)

To adjust font size of the message text, in 20497 just go the line 29 (I changed fontsize="9pt" to "6pt") :
Code:
<element layoutpos="left" layout="borderlayout()">
<element id="atom(messageholder)" layoutpos="client" layout="borderlayout()">
<DUINotificationText id="atom(messagetext)" layoutpos="client" accRole="statictext" accName="resstr(0xA0C2)" accessible="true" contentalign="middleleft | endellipsis" fontsize="6pt"/>
</element>
(http://img848.imageshack.us/img848/9977/iewarningmesstextadjust.png)
And you're done !

then just for the fun (and obviously the knowledge of all that stuff) :
To change the font of this text, we can go directly at line 3, the 1st code line (I changed font="gtf(TEXTSTYLE, 4, 0)" to "menufont") :
Code:
<duixml>
<element id="atom(root)" resid="main" sheet="styleDynamic" bordercolor="themeable(rgb(0, 0, 0), windowframe)" borderthickness="rect(1, 1, 1, 1)" layout="filllayout()" font="menufont" accessible="true" accname="resstr(0xA0C0)" accrole="toolbar">
(http://img100.imageshack.us/img100/2676/iewarningmesstextchange.png)

And if someone someday wants to change the font of the buttons text, it's at line 514 (here font="gtf(TEXTSTYLE, 4, 0)" is put to "captionfont") :
Code:
<style resid="DUIToolbarButtonStyle">
<if id="atom(ActionButtonLabel)">
<Element background="argb(0, 0, 0, 0)" contentalign="middleleft" font="captionfont" layoutpos="client"/>
</if>
(http://img841.imageshack.us/img841/1692/iewarningmessandbtntext.png)

can't manage to change just the buttons text font size, as for the message text color. only got the buttons text color by adding a foreground property somewhere, I think that was at line 3.

PandaX was right, that was in a UIFILE...


Title: Re: [RESOLVED] IE9 Frame Notification Bar
Post by: 3am on May 01, 2012, 10:15:10 pm
The message textcolor is Fonts & System Metrics > WINDOWTEXT:COLOR. It is also the textcolor of the buttons, though you can change them in the UIFILE.