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
Posted on 2003-03-25 06:31:31 by ChigpA
Ownerdraw.
Posted on 2003-03-25 20:57:47 by comrade
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
Posted on 2003-03-25 21:05:27 by donkey
Might need this :
MENUINFO STRUCT

cbSize DWORD ?
fmask DWORD ?
dwstyle DWORD ?
cyMax DWORD ?
hbrBack DWORD ?
dwContextHelpID DWORD ?
dwMenuData DWORD ?
MENUINFO ends
Posted on 2003-03-25 22:06:06 by donkey
thx all works
Posted on 2003-03-26 08:40:22 by ChigpA