This sample was working fine until we click on a context menu choice that opens another dialog to set a value - the act of showing the dialog loses the focus of the current cell which causes both the dialog to be displayed and the context menu to be displayed with neither of them having focus or working.
ideas?
thanks,
Corinne
>
Here is a sample that should show context menus whether or not a cell is being edited.. It uses the grid_MouseUp event to handle all right clicks that the grid catches (which include the checkbox case), and dynamically hooks the cellcontrol_MouseUp in CurrentCellControlGotFocus and unhooks it in CurrentCellControlLostFocus. This allows us to catch the context menu for active cell controls.
>
>