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
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