Vista Style Builder

   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [RESOLVED] IE9 Frame Notification Bar  (Read 15759 times)
JoCe-from-France
Beginner
*
Posts: 55



View Profile
« 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 ??


« Last Edit: May 01, 2012, 08:27:37 pm by JoCe-from-France » Logged
JoCe-from-France
Beginner
*
Posts: 55



View Profile
« Reply #1 on: April 30, 2012, 10:47:32 pm »

"hardcoded" : I hate this word
Logged
Panda X
Administrator
Dedicated Helper
*****
Posts: 1645



View Profile
« Reply #2 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.
Logged
JoCe-from-France
Beginner
*
Posts: 55



View Profile
« Reply #3 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.

Logged
3am
Beta Tester
Dedicated Helper
*
Posts: 2428



View Profile
« Reply #4 on: May 01, 2012, 02:00:13 pm »

Open UIFILE 20497 and make the following change ( I changed background to red):

  


And you'll get this:




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:





To get this:


« Last Edit: May 01, 2012, 02:44:34 pm by 3am » Logged
JoCe-from-France
Beginner
*
Posts: 55



View Profile
« Reply #5 on: May 01, 2012, 08:26:50 pm »

Too Nice! Thanx 3am! Just when I was about to give up  Smiley
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 :


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>

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">


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>


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...
« Last Edit: May 01, 2012, 08:38:08 pm by JoCe-from-France » Logged
3am
Beta Tester
Dedicated Helper
*
Posts: 2428



View Profile
« Reply #6 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!