I have a tool bar in Windows application, with 10 small icons representing different functionality.
I would like to get the property values for enabled and focused for each icons and based on the status, need to decide on which icon to click.
Can anyone advice me on how this can be accomplished?

Thanks in advance.