I have a
GeUserArea where items are drawn. User can select one or more of these items.
Next to this I have several actions, defined as
CommandData derived plugins, which can each perform a specific action on the selected item(s). I am able to control the state of these
CommandData icons, using
GetState() to obtain information from my userarea and return the appropriate value to show the icon/menu-item enabled or disabled, checked or unchecked.
Which message is actually responsible for triggering the
As I need to trigger the GetState when an item is (de)selected in the userarea, so that the
CommandData can check the userarea and decide to enable/disable the command.