Commit 9f5a8b00 authored by Chris Morgan's avatar Chris Morgan Committed by Alexandre Julliard

- Added a helper function TOOLBAR_GetText() and macro TOOLBAR_HasText() to

determine whether we need to call InvalidateRect() with bErase of TRUE or FALSE. Reduces background erases in non-text toolbars by 80-85%. - Fixed button state not being updated properly when LBUTTONDOWN and cursor leaves the toolbar. - Removed FIXME() in TOOLBAR_DrawString for btnPtr->iString == -1, replaced with a source code comment. - Removed unecessary call to TOOLBAR_CalcToolbar() in TOOLBAR_GetItemRect(). Optimized TOOLBAR_CalcStrings(). Fixes very slow responding toolbars in Ultraedit due to processing TB_GETITEMRECT messages. - Optimized TOOLBAR_SetIntent(), SetRows() and SetStyle().
parent 8d5db55c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment