The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: DC on February 02, 2006, 02:58:11 AM

Title: taller bmp's in menu
Post by: DC on February 02, 2006, 02:58:11 AM
I can only use 13x13 bmp's
I can only find this option and it doesn't work, anything missing?
local mi:MENUINFO
    .if uMsg==WM_CREATE
        invoke  GetMenu, hWnd
        mov     hMenu, eax
        mov     mi.fMask, MIM_APPLYTOSUBMENUS or MIM_MAXHEIGHT or MIM_STYLE
        mov     mi.cyMax, 20
        mov     mi.dwStyle, MNS_CHECKORBMP  ;   with or without
        invoke  SetMenuInfo, hMenu, addr mi

thanx,
DC
Title: Re: taller bmp's in menu
Post by: DC on February 02, 2006, 03:03:19 AM
or can imigelists be used in menus?
thanx
Title: Re: taller bmp's in menu
Post by: zooba on February 02, 2006, 04:03:01 AM
AFAIK, you need to use ownerdrawn menus to get better bitmaps. Check out MenuWOW in the custom controls forum, it looks good :U
Title: Re: taller bmp's in menu
Post by: DC on February 02, 2006, 05:12:54 AM
thanx zooba,
I noticed WinASM has taller bmp's or would've assumed they had to be 13 high
take care,
DC