Meppy,
I am using version 4.2 now but I'm still experiencing problems with (or not understanding properly
GetVisibleItems.
Heres the scenario, in my application this is what happens:-
1. Clear the contents of the calendar control
2. Populate the location collection (y- axis)
3. Populate the contents of the calendar
4. Scroll several screen widths to the right
5. Scroll several screens down
6. Highlight an item in the calendar
7. Double click it, bring up a new form, do some work and close the new form.
At this point I need to clear the calendar and repopulate it because other users may have added/deleted/amended/moved other items. But I want the user to still see the item they are working on still highlighted in the calendar.
Currently I'm calling EnsureVisible which works but causes the selected item to appear in the top left of the control. So it looks to the user that item has "jumped" toi te top left. I really want to check if the item is currently visible and just clear the ItemSelection collection, add the item to the ItemSelection collection so the user sees the selected item exactly where they double clicked on it.
Is this possible ?
Regards,
Simon