Hi!
Is there any possibility to color my Dropdownmenu at the top of the window aswell.
Maybe with a WM_CTLCOLOR* - Message.
Or must I draw it by myself. (But I think that could be difficult)
thx fo help
Is there any possibility to color my Dropdownmenu at the top of the window aswell.
Maybe with a WM_CTLCOLOR* - Message.
Or must I draw it by myself. (But I think that could be difficult)
thx fo help
Ownerdraw.
This works :
LOCAL MInfo :MENUINFO
invoke CreateSolidBrush,MyColor
mov MInfo.hbrBack,eax
mov MInfo.cbSize,SIZEOF MENUINFO
mov MInfo.fmask,MIM_BACKGROUND
invoke SetMenuInfo,hMenu,ADDR MInfo
Might need this :
MENUINFO STRUCT
cbSize DWORD ?
fmask DWORD ?
dwstyle DWORD ?
cyMax DWORD ?
hbrBack DWORD ?
dwContextHelpID DWORD ?
dwMenuData DWORD ?
MENUINFO ends
thx all works