En tatonant g trouvé
POINT Coord;
GetCursorPos(&Coord);
HBITMAP Image;
//hInst est l'instance de mon appli
// Download est le nom de ma BITMAP dans la ressource
//IMAGE_BITMAP pour dire que c'est une bitmap
// 13 et 13 sont les tailles en pixel du bitmap redimens.
//LR_DEFAULTCOLOR est le flag par defaut
Image=(HBITMAP) LoadImage(hInst, "Download",_
IMAGE_BITMAP,13,13,LR_DEFAULTCOLOR);
menu=CreatePopupMenu();
MENUITEMINFO Info;
Info.fMask = MIIM_STATE | MIIM_TYPE | MIIM_CHECKMARKS;
Info.fType =MFT_STRING ;
Info.dwTypeData =Nom; //un char *
Info.fState = MFS_CHECKED; // a ne pas changer
Info.hbmpChecked =Image; // a ne pas changer
Info.hbmpUnchecked =NULL; // a ne pas changer
Info.cbSize =sizeof(MENUITEMINFO);
InsertMenuItem(menu,1,true,&Info);
TrackPopupMenu(menu,TPM_RIGHTBUTTON,_
Coord.x ,Coord.y ,0,ListBrowser,NULL);
DeleteObject(Image);
DestroyMenu(menu);
Bonne prog
Exige beaucoup de toi-meme et attends peu des autres. Ainsi beaucoup d'ennuis te seront epargnes. >:)