Active pane title bar colour

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
derailer
Member
Member
Posts: 16
Joined: 2004 Feb 02, 23:30
Location: New Jersey

Post by derailer »

shit.. i just read about this yesterday and its already implemented. Real glad to see this back, i missed it. Im liking xplorer2 more and more everyday. thanks :D
cman
New Member
Posts: 2
Joined: 2004 Aug 07, 02:33
Location: Sydney

Post by cman »

sorry, having trouble working out how to activate this - i assume it's the DPF_HILITEACTIVEHEADER item in "registry.txt" - would really appreciate some "simple instruction" re adding this to registry - ie what type of registry entry and path - thanks for your help, and thanks for creating xplorer2
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

If you are familiar with editing the registry,
and after closing all instances of xplorer2 ...

Using regedit (Start | Run... | open: [regedit] )
(or you favorite registry editor)
navigate to the binDualPaneFlags key under MainFrame Settings
of your xplorer2 or xplorer2_UC key
(depends on whether you have the unicode version installed or not)
this will be found under
HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc

now simply add 64 [hex 40] to the binDualPaneFlags key value
(that's the 2^6 bit, which is the switch for DPF_HILITEACTIVEHEADER)

close regedit and start x2 and you should see the header of the active folderpane now has the color of the active window titlebar. :)
[edit:corrected keyname 7-Aug]
Last edited by fgagnon on 2004 Aug 07, 16:02, edited 1 time in total.
User avatar
derailer
Member
Member
Posts: 16
Joined: 2004 Feb 02, 23:30
Location: New Jersey

Post by derailer »

edit: beaten
cman wrote:sorry, having trouble working out how to activate this - i assume it's the DPF_HILITEACTIVEHEADER item in "registry.txt" - would really appreciate some "simple instruction" re adding this to registry - ie what type of registry entry and path - thanks for your help, and thanks for creating xplorer2
look in registry.txt file in your xplorer folder.

here is the bit you would be interested in:
[MainFrame Settings] ////////////
binDualPaneFlags [default = 9]
DPF_SHOWHEADERS 8 /* show titlebar for each view pane */
DPF_HILITEACTIVEHEADER 64 /* simulate active window titlebar */
DPF_NOHEADERSUBPATHS 128 /* they exist but ain't clickable */
to activate this setting, goto the xplorer2 registry directory as explained at the top of the registry.txt file. Find the binDualPaneFlags variable in the MainFrame Settings folder under the xplorer2 folder in the registry. Double click the binDualPaneFlags entry to bring up an edit dialog, and make it show the value in decimal rather than hexadecimal where it says Base in the dialog. Now take the number it shows for the value, add 64 to that value, and set that sum to be the new value (in decimal) and click ok. Also make sure you exit xplorer2 before making the registry change.
cman
New Member
Posts: 2
Joined: 2004 Aug 07, 02:33
Location: Sydney

Post by cman »

thanks for your replies - i was close, but was making mistake of replacing default 9 value with 64 rather than adding - live and learn :roll: thanks again, and as we say in oz - i owe you one !
jesperjensen
New Member
Posts: 4
Joined: 2004 Jul 18, 11:31

Thanks!

Post by jesperjensen »

Thanks! This is marvellous, I feel right at home again ;)

Jesper.
User avatar
devic
Member
Member
Posts: 37
Joined: 2004 Jul 19, 22:08
Location: Europe

Post by devic »

one step closer :)

next step would be:

DPF_HLTACTHDRNOPATHS 256 /* simulate active window titlebar + they exist but ain't clickable*/
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

these options are "flags" so you can have both turned on at the same time. So adding 64+128=192 to the existing value will do the trick
User avatar
devic
Member
Member
Posts: 37
Joined: 2004 Jul 19, 22:08
Location: Europe

Post by devic »

thank you Niko!

my magic number is binDualPaneFlags=201
now with title bar I am very happy!
:D
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

fgagnon wrote:If you are familiar with editing the registry,
and after closing all instances of xplorer2 ...

Using regedit (Start | Run... | open: [regedit] )
(or you favorite registry editor)
navigate to the binMiscOptions key under MainFrame Settings
of your xplorer2 or xplorer2_UC key
(depends on whether you have the unicode version installed or not)
this will be found under
HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc

now simply add 64 [hex 40] to the binMiscOptions key value
(that's the 2^6 bit, which is the switch for DPF_HILITEACTIVEHEADER)

close regedit and start x2 and you should see the header of the active folderpane now has the color of the active window titlebar. :)
Close, but no sigar Fred :(

The regkey is named binDualPaneFlags, and not binMiscOptions!

The rest of the story is correct though :)

[Edit:add]I must be getting sleepy of the warm weather :roll: Didn't see the replies after your post Fred. You stand corrected by them already. Sorry for that... going back to sleep now... :sleep: [/Edit]
Dumb questions are the ones that are never asked :turn:
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

You are right, Jan, (& the other responders, too) and I must have been sleepy from it beeing late last night when I composed it. :oops:
tirian
New Member
Posts: 1
Joined: 2004 Aug 18, 16:20

Post by tirian »

Add my thanks, Nikos, to the others for implementing this feature! The best just got better!

-tirian-
Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure.
Life is either a daring adventure, or nothing.
-Helen Keller
dft1
Member
Member
Posts: 41
Joined: 2002 Jul 30, 14:13
Location: Atlanta GA US

Need Real 1.0.0.3 not Preview 1.0.0.3

Post by dft1 »

I couldn't get this to work until I got the official 1.0.0.3 release off from Simtel. The registry tweaks aren't in the version Nikos posted as a preview.
Lokiman
Member
Member
Posts: 12
Joined: 2002 Aug 21, 14:33

Post by Lokiman »

Big thanks to all.
Dual pane had been bothering me a little in x2 but i didn't know why.
I bet people that never used 2x like the default bars.
purple-circle
New Member
Posts: 5
Joined: 2005 Apr 10, 06:47

Active pane confusion

Post by purple-circle »

As a new user, the active pane highlighing was cuasing me some confusion initially. I've since turned the active window highlighting off (or at least turned it to white so it maches the other pane) and turned on the old 2explorer title bar highlighting. It is so much easier to use this way as your eyes aren't distractred when the background changes colour.

As a thought, it may be worthwhile giving the user the option of selecting the colours for both the active and innactive panes and let them decide.