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