I'm trying to create a popup menu (to combine with my tray icon),
with the code

///////////////////////////////////////
CODE /////////////////////////////////////////////////////////////////
POINT *pt = new POINT;
GetCursorPos(pt);

int x = pt->x;
int y = pt->y;

HMENU menu = LoadMenu(win.getInstance(),MAKEINTRESOURCE(POPUPME NU));
bool iets = TrackPopupMenu(menu,TPM_RIGHTBUTTON,x,y,0,win.getH wnd(),
0);

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

The menu looks like this : http://img181.imageshack.us/img181/3720/pictqb2.jpg

Does anybody know what causes this and how to solve it?

Ives