1. The popup menu can be disabled via SetCtrlAttribute (panel, control, ATTR_ENABLE_POPUP_MENU, 0);
2. Highlight a region in the table without need to click on a cell. In the table callback insert this code:
case EVENT_LEFT_CLICK:
case EVENT_RIGHT_CLICK:
GetTableCellFromPoint (panel, control, MakePoint (eventData2, eventData1), &cell);
if (cell.x == 0 && cell.y == 0) return 1; // Clicked outside the table area: swallow the mouse event
// Your code goes here for highlighting or managing cell content
Hope this helps
Roberto