none
Could Not LoadImage In Menu Item RRS feed

  • Question

  • Hi 

     I Used following But Never load icon next to menu item ( SystemMenu ) But When Set hbmpiten to1 Will Show Window icon .

    Dim mii As MENUITEMINFO 
    mii.cbSize = len(mii)
    mii.fMask = MIIM_BITMAP
    mii.hbmpItem =LoadImage(0,"D:\Ico126.ico,IMAGE_BITMAP,0,0,LR_SHARED Or LR_LOADTRANSPARENT)
    SetMenuItemInfo  hSystemMenu,6,True,mii)


    • Edited by Grailly Ali Saturday, August 17, 2019 6:40 PM
    Saturday, August 17, 2019 6:40 PM

All replies