I noticed that my app sends icons to the Windows tray with a size of 16x16 pixels--and my Vista PC I\'ve got a doublewide taskbar that appears to show icons at 18x18. The re
Create your icons in multiple formats, and let Windows select the one it wants.
Here's the Wikipedia article on the .ico format.
If you really need to know, GetSystemMetrics with a parameter of SM_CXICON or SM_CYICON will tell you the width and height that Windows wants to load.