[TRY 3] Add support for tooltips for system tray icons

Mike McCormack mike at codeweavers.com
Wed Aug 30 01:37:17 CDT 2006


James Liggett wrote:

> +    if (!list_head(&tray.icons))
> +    {
> +        INITCOMMONCONTROLSEX init_tooltip;
> +        
> +        init_tooltip.dwSize = sizeof(INITCOMMONCONTROLSEX);
> +        init_tooltip.dwICC = ICC_TAB_CLASSES;
> +        
> +        InitCommonControlsEx(&init_tooltip);

Shouldn't you only initialize comctl32 once, rather than every time 
there's no icons and we add one?

Mike



More information about the wine-devel mailing list