Export to GitHub

stexbar - issue #193

Position of StExBar alongside Explorer menu bar on Windows 7


Posted on May 25, 2012 by Massive Ox

What steps will reproduce the problem? Happens only on Windows 7, not on Vista or XP. 1. Unlock all Explorer toolbars. 2. Make sure the Explorer menu bar is turned on from Folder Options. 3. Adjust the position of StExBar on the same line as the Explorer menu bar. 4. Now lock all Explorer toolbars and close Explorer. 5. Open Explorer again. Notice that StExBar is moved to a new line, it longer is on the same line as the Explorer menu bar.

I know it is because of a bug in Windows 7 Explorer. Explorer forces the RBBS_BREAK style for every band. But can it be fixed/circumvented?

What is the expected output? What do you see instead? StExBar and Explorer menu bar should be on same line even after you close and re-open Explorer.

What version of the product are you using? On what operating system? 1.8.3.352 on Windows 7 x64

Please provide any additional information below. to subclass the rebar control To circumvent this, you need to force a specific value for the RBBS_BREAK style. We remember the state when the band is hidden (IDockingWindow::ShowDW is called with FALSE) so we can restore it correctly the next time Explorer is opened or the band is shown.

Comment #1

Posted on Jul 14, 2013 by Happy Wombat

What might be a relatively simple workaround for this would be to allow display StExBar to be toggled on and off by an editable keyboard shortcut...wouldn't fix the problem but would alleviate the inconvenience of losing the pixels to the second line bug...

Comment #2

Posted on Nov 7, 2014 by Grumpy Monkey

this page mentions the style tag in question and promises a solution. http://www.codeproject.com/Articles/45430/Classic-Shell i have not tried it but it indicates that it might solve the situation.

Comment #3

Posted on Nov 7, 2014 by Grumpy Monkey

partially works. had three toolbars - one from StEx behind the menu and two others (from the same package) - all were on their own line when explorer was launched.

with that mentioned extension the StEx one never stayed behind the menu and it also did not stay behind the two others. but the two others now seem to stay nicely.

Status: New

Labels:
Type-Defect Priority-Medium