News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

taller bmp's in menu

Started by DC, February 02, 2006, 02:58:11 AM

Previous topic - Next topic

DC

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
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net

DC

or can imigelists be used in menus?
thanx
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net

zooba

AFAIK, you need to use ownerdrawn menus to get better bitmaps. Check out MenuWOW in the custom controls forum, it looks good :U

DC

thanx zooba,
I noticed WinASM has taller bmp's or would've assumed they had to be 13 high
take care,
DC
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net