I have added a bitmap in to menu in the following way,
HBITMAP bmSeparator = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_LINE));
fOK = AppendMenu(hmenu, MF_BITMAP,IDM_LINE,(LPCTSTR)bmSeparator);
While compiling the code, I got the below error,
error C2065: 'MF_BITMAP' : undeclared identifier
is “MF_BITMAP” not available for Win CE?
Indeed, MF_BITMAP is not supported for WinCE. See the documentation for AppendMenu.