if(nButtons==0)/* wParam == 0 is special and means add only one image */
{
WARN("Desired images do not match received images : Previous image number %i Previous images in list %i added %i expecting total %i, Images in list %i\n",
infoPtr->nNumBitmaps,nCount,imagecount-nCount,
infoPtr->nNumBitmaps+nButtons,imagecount);
infoPtr->nNumBitmaps=imagecount;
ImageList_SetImageCount(himlDef,nCount+1);
}elseif(added<nButtons){/* if not enough buttons, grow the list */
ImageList_SetImageCount(himlDef,nCount+nButtons);
}elseif(added>nButtons){
TRACE("Added more images than wParam: Previous image number %i added %i while nButtons %i. Images in list %i\n",