Okay, I was able to load it with LoadImageA...not sure why LoadBitmap doesn't work.
Still no visible effect when I try to set the menu image.
root=WindowMenu(window)
menu:TGadget=CreateMenu("File",0,root)
submenu:TGadget=CreateMenu("Open...",MENU_OPEN,menu,KEY_O,MODIFIER_CONTROL)
hmenu=QueryGadget(menu,QUERY_HWND)
hbitmap=LoadImageA(Null,AppDir$+"\gfx\icon_new.bmp",0,0,0,$10)
Notify SetMenuItemBitmaps(hmenu,0,1024,hbitmap,hbitmap)
Still no visible effect when I try to set the menu image.
root=WindowMenu(window)
menu:TGadget=CreateMenu("File",0,root)
submenu:TGadget=CreateMenu("Open...",MENU_OPEN,menu,KEY_O,MODIFIER_CONTROL)
hmenu=QueryGadget(menu,QUERY_HWND)
hbitmap=LoadImageA(Null,AppDir$+"\gfx\icon_new.bmp",0,0,0,$10)
Notify SetMenuItemBitmaps(hmenu,0,1024,hbitmap,hbitmap)