mandelbrot Posted September 8, 2006 Posted September 8, 2006 (edited) MonthCalendar and Context menu - RESOLVED Dear All, I've had a look over the net, and at the forum for this, but cannot find a way of doing this (though it may be fairly straight forward)... When a user right-clicks (to bring up a context menu) on a date on the MonthCalendar control, I want the SelectedDate to change to the one right-clicked prior to the contact menu being displayed. I've tried a couple of things, but haven't found a way of doing this yet. If anyone has any tips or tricks I'd appreciate it. Thanks in advance, Paul. Edited September 8, 2006 by mandelbrot Quote
mandelbrot Posted September 8, 2006 Author Posted September 8, 2006 Appologies - I've resolved this issue - I simply wasn't looking hard enough! The trick is to obtain the HitTest from the MonthCalendar, obtaining the date and time and co-ordinates from the HitTestInfo object. Then imply show the context. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.