this Demo show how to set Background Color of App Menu with Gradient Color
is based onHB_FUNC ( SETMENUBKGRADIENT )
Code: Select all
HB_FUNC ( SETMENUBKCOLOR )
---
Syntax : SetMenuBkGradient(hWnd, lSubMenu, RGB1, RGB2, nDirection, Wide, Height)
Code: Select all
hWnd -> Handle of Form e.n. GetFormhandle("Win_1")
lSubMenu -> include SibMenu .T. / .F.
RGB1 -> 1st Colorm[r.g.b}
RGB2 -> 2nd Colorm[r.g.b}
nDirection -> Horizontal = 1 / Vertical = 2
Wide -> ... about Wide
Height -> ... about Height
---
todo : it does not work with CONTEXT MENU ... i try to figure out how that work
Jimmy