comctl32: Fix rebar autosize behaviour.
authorPhil Krylov <phil@newstar.rinet.ru>
Mon, 9 Jan 2006 17:41:45 +0000 (18:41 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Jan 2006 17:41:45 +0000 (18:41 +0100)
commita05bfbfb86cb9d5d81fdbbfef02f5dd11e1f1a53
tree1296fc98c7a794a4a373d85e363aded198e9eb9e
parenta2f883484f11f291d965ba543ec03a9626db943a
comctl32: Fix rebar autosize behaviour.
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
dlls/comctl32/rebar.c