You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (mc_send_notify(grid->notify_win, grid->win, NM_DBLCLK)) {
/* Application suppresses the default processing of the message */return;
}
/* Edit cell if MC_GS_EDITLABELS is set */if (grid->style&MC_GS_EDITLABELS) {
MC_GHITTESTINFOinfo;
info.pt.x=x;
info.pt.y=y;
grid_hit_test(grid, &info);
grid_start_label_edit(grid, info.wColumn, info.wRow);
}
I've checked them in my project and in example_grid but possibly I'm missing something.
The text was updated successfully, but these errors were encountered:
I remember the logic was implemented to follow listview in this regard (and it was inspired by Wine's listview implementation). But it's true that for grid your proposition may make sense, as it's likely much less likely that application wants to hook a different action on a double-click.
Hi Martin, It is really tedious for me to implement in each NM_DBLCLICK notification message:
So I propose you to modify
grid.c
line 2880with these lines:
I've checked them in my project and in example_grid but possibly I'm missing something.
The text was updated successfully, but these errors were encountered: