oldletter
October 16th, 2005, 06:21 PM
I do something like this but it doesn't show anything for me..
bmp=LoadBitmap(hinstance,"IDM_BITMAP1");
menu=CreateMenu();
AppendMenu(menu,MF_BITMAP,IDM_BITMAP1,MAKEINTRESOURCE(IDB_BMAP1));
SetMenu(winHand,menu);
DrawMenu(winHand);
I would like to use bitmap call IDM_BITMAP1 whose ID is IDB_BMAP1 as a menu but nothing seems to work out for me.
Thanks in advance for any help
bmp=LoadBitmap(hinstance,"IDM_BITMAP1");
menu=CreateMenu();
AppendMenu(menu,MF_BITMAP,IDM_BITMAP1,MAKEINTRESOURCE(IDB_BMAP1));
SetMenu(winHand,menu);
DrawMenu(winHand);
I would like to use bitmap call IDM_BITMAP1 whose ID is IDB_BMAP1 as a menu but nothing seems to work out for me.
Thanks in advance for any help