I have a ListBox which is bound to an ArrayList like so:
ArrayList *JumpPoints = new ArrayList();
ListBox *lbBeacons = new ListBox();
lbBeacons->DataSource = JumpPoints;
And all works fine until the ArrayList changes but the ListBox doesn't refresh in any way that reflects the changes. I have looked around and come across CurrencyManagers/BindingManagers but can find no coherent examples in VC++ that cover what I need.
Which is the best way to go to achieve this? Can anyone give a clear code example in VC++?