K, I'm using the CSystemTray class to work with tray icons. Here's my code:

#include "stdafx.h"
#include "SystemTray.h"
#include "MainDlg.h"

int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow)
CMainDlg dlg;

HICON hIcon = ::LoadIcon(AfxGetResourceHandle(), MAKEINTRESOURCE(IDI_INACT));
dlg.m_TrayIcon.Create(NULL, WM_ICON_NOTIFY, _T("tooltip"), hIcon, 1); 


return 0;
And it compiles just fine. But when I run it, I get a blank space in the system tray where an icon should be, but no icon. When I hover my mouse over it, I get the tooltip just fine. Whats wierd is that it works just fine if I use, say, IDI_ASTERISK instead of IDI_INACT.... Anyone see somthing I'm missing?