Right mouse button select |
Post Reply |
Author | |
starzen
Groupie Joined: 08 October 2008 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 11 November 2011 at 10:20am |
am working on implementing a simple context menu into the calendar
the context menu itself is not a problem but the control by default doesnt select events when clicked on using the right mouse button i implemented the functionality and it is working but the painting is behind. i do the following in the ContextMenu event ActiveView.UnselectAllEvents HitTest and get the viewevent under mouse if it is an event ActiveView.SelectViewEvent for the event Populate then show the ContextMenu this is working but the selection rectangles on events do not update (old selections stay visible and the new selection is not) until after the context menu closes i tried moving the selection code in MouseUp but the same problem Any idea how to get the screen to refresh the selection rectangles before the context menu shows ? thanks Mike |
|
starzen
Groupie Joined: 08 October 2008 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
|
Looks like i am answering my own question
RedrawControl did the trick thanks Mike |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |