Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TPopupMenu refresh

Status
Not open for further replies.

macbeth8c

Programmer
Oct 16, 2010
1
0
0
DK
Hi,
I have a TPopupMenu with the items that changes background color (using OwnerDraw) at some events in the software.
What I don't know how to do is how to refresh (repaint) the PopupMenu when user has the menu opened (it is usually the case that this actions happen then).
The best solution would be to refresh only the TMenuItem that has been changed (I have that information) but I will be also satisfied with the solution of any kind of refresh (even the whole menu).
Note, the TPopupMenu does not have the Refresh, Repaint or Update operations, it also has two different handles :(

Best regards,
Macbeth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top