comctl32: Update the tooltip rectangle when a tool button is hidden

Nikolay Sivov bunglehead at gmail.com
Mon Feb 20 13:24:14 CST 2017


On 20.02.2017 22:17, Eric Kohl wrote:
> Signed-off-by: Eric Kohl <eric.kohl at t-online.de>
> ---
>  dlls/comctl32/toolbar.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
> index 784745c..bb53d66 100644
> --- a/dlls/comctl32/toolbar.c
> +++ b/dlls/comctl32/toolbar.c
> @@ -1690,6 +1690,7 @@ TOOLBAR_LayoutToolbar(TOOLBAR_INFO *infoPtr)
>  	if (btnPtr->fsState & TBSTATE_HIDDEN)
>  	{
>  	    SetRectEmpty (&btnPtr->rect);
> +	    TOOLBAR_TooltipSetRect(infoPtr, btnPtr);
>  	    continue;
>  	}
> 

Hi, Eric.

What are symptoms of that? I'd guess it's causing tooltips to appear
when they shouldn't, or tooltips from one button to appear for another.

Do you have an demo application for that or any easy way to reproduce?



More information about the wine-devel mailing list