- Adjust TAB_SetItemBounds to split vertical tabs more like the native.
- Document major difference in laying out the vertical tabs.
- Fix drawing of icons. Wrong item padding used in vertical case.
- Fixed size of horizontal padding.
- Fixed drawing of separators to match the native.
- Fixed height of tabs and buttons to match native.
- Add/improved traces.
- Handle WM_SYSCOLORCHANGE message.
matches Windows. Center image and text in tabs. Size tabs to
completely fill each row with multiline style. Fix positioning of
tabs for TCS_BOTTOM style. Fix various drawing issues.
TabCtrl leftmostVisible is not updated properly. It caused the QP
application bar on the bottom fail to bring back the items when there
is no need to scrolling. Also fixed a bug that when an item is inserted,
setItemBounds should be called first, then it's time to invalidate.
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons. Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set. Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).
Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs
Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.
Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.
Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
- some of the checks for invalid items where > when they should have been >=
(Marcus Meissner)
- made InsertItem behave similarly to DeleteItem, ie, if the current item is
after where the item is inserted, increment the selected item (David Luyer)