By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,474 Members | 3,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,474 IT Pros & Developers. It's quick & easy.

OwnerDraw menu

P: n/a
I come back with a new question regarding my OwnerDraw menu.
That is a classical ownerDraw menu to add icon and some other color
properties.

My feature is to color all the menu bar with the background color of the
items.
So I feel the left side of the menu bar with a FillRectangle.
I gather the width of the form for the Rectangle definition
Everything works well.

But unfortunatly the Event OnDrawItem is not actvate when I resize the Form
and
the left side of my menu stay grey like the standard menu.
Do you have any idea to how to force this event to redraw correctly my
menubar.
(This is done when the mouse is hoover an item !!)

Thanks for your comments.
Mick

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.