monolithpl / stexbar

Windows Explorer extensions (or: what Microsoft forgot to implement in the Windows Explorer)
7 stars 4 forks source link

Position of StExBar alongside Explorer menu bar on Windows 7 #193

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by xpclient...@gmail.com on 25 May 2012 at 12:14

GoogleCodeExporter commented 9 years ago
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...

Original comment by trulycoo...@gmail.com on 14 Jul 2013 at 10:28

GoogleCodeExporter commented 9 years ago
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.

Original comment by alexande...@hdle.com on 7 Nov 2014 at 7:28

GoogleCodeExporter commented 9 years ago
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.

Original comment by alexande...@hdle.com on 7 Nov 2014 at 7:35