Cannot change icon in response to a click event

Summary

Id: 3911.8
Type: Issue Issue
Current Status: Open

Detail

13 Jan 2003 Open Steve McMahon

The Microsoft control does not allow this but it sounds like a good idea for a change request.

13 Jan 2003 Open Hugues Binder

I 'm trying to change an item icon after a mouse click event (by changing the icon index ) to highlight the selection. The icon well change while the mouse is over the item button, but when the mouse move outside the button area the original icon is displayed again. A single minimise and restore operation on the form display correctly the new icon.

If I'm changing the icon index from a standard command button on the form it works well.

So is there a simple way to redraw the ListBar ...