Hi everyone,
In trying to find some problems with the toolbar in Outlook Express (ugly -
but a good test of the APIs), I found that the rebar control needed some
serious work to match the native. The following patch is the result (a major
rewrite). The test programs I've used are Outlook Express, IE 4, and the
Rebar version of CONTROLSPY. Of all my test programs these are the only
ones that use the common control rebar. Also, aside from MSDN, there does
not appear to be any other documentation on how Rebar really works.
Known problems:
1. GetWindowRect for ComboBoxEx returns very wrong values (as compared to
the native) for the y extent. This impacts rebar heights. All three test
programs use the rect.bottom - rect.top to set the rebar band height. Native
Combo control usually returns something in the 20 to 30 pixels range, Wine's
control returns something in the 150-250 range. Seems to be the depth of the
dropdown box. As a result, there are hacks (marked with "FUDGE") in the code
for this.
2. Vertical Rebars have been disabled. They are next on my list.
3. IE4 is having a problem with menu items that I have not tracked down yet.
And yes, it is probably due to this code.
The diff has been TAR.GZed for size issues and is of the CVS from Sept. 26,
2000 (late). If there are no major issues, I will submit it to patches in a
week or two.
Guy Albertelli <<[EMAIL PROTECTED]>>
rebar.tar.gz