Type: info
         Title: WindowBits removed from SvLBox and friends
     Posted by: frank.schoenh...@sun.com
      Affected: -
Effective from: CWS dba34a
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba34a>
    CWS status: ready for QA


*Summary*
--------
- SvTreeListBox::GetWindowBits
- SvTreeListBox::SetWindowBits
- SvIconView::SetWindowBits

*Description*
-------------
The "WindowBits" member of the SvLBox, used by the class itself and
derived classes, has been removed.

Formerly, those were used to carry WB_* styles, but seemingly it was
never well defined which styles belong into the WindowBits, and which
belong into Window::[S|G]etStyle (known as "WinBits" there). This was
a constant source of confusion, since from time to time, WindowBits
were defined for the tree list box which conflicted with styles for
normal VCL windows.

So, all WB_* definitions from <svtools/svtreebx.hxx> have been moved
to <tools/wintypes.hxx>, where all other WinBits reside, and have been
adjusted to not conflict with generic-purpose WinBits. (while
conflicts with other special-purpose WinBits are still allowed.)

All calls to [Set/Get]WindowBits have been changed to [Set/Get]Style.


Send feedback to interface-announce@openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: interface-announce-unsubscr...@openoffice.org
For additional commands, e-mail: interface-announce-h...@openoffice.org

Reply via email to