mfc - Windows Menu: MF_HILITE flag does not cleared -
i have cmenu instance on add multiple items. 1 of items added in it, set mf_hilite flag.
when show menu, appropriate item hi-lighted correctly, requested. problem stays hi-lighted until move mouse on , leave. want 1 item hi-lighted @ time. seems windows not un-light when item hi-lighed.
how force un-lighted item hi-light? not find mouse-over callback or message menu, , not find invalidate either.
you're using mf_hilite
in weird way. item isn't highlighted, it's drawn is. if user presss enter, "highlighted" item won't selected.
you're looking mf_default
.
Comments
Post a Comment