srccontrols/matrix/iupmat_colres.c
int iupMatrixColResStart(Ihandle* ih, int x, int y)
{
  int col = iMatrixGetColResCheck(ih, x, y);
  if (col != -1)
  {
    ih->data->colres_drag_col_start_x = x;
    ih->data->colres_dragging =  1;
    ih->data->colres_drag_col = col;
    ih->data->colres_color = cdIupConvertColor(iupAttribGetStr(ih, "RESIZEMATRIXCOLOR"));
    return 1;
  }
  else
    return 0;
}
/* Verify if the mouse is in the intersection between two of column titles,
   if so the resize is started */
Verify if the mouse is in the intersection between two of column titles,
if so the resize is started
Verify if the mouse is in the intersection between two of column titles if so the resize is started
int iupMatrixColResStart(Ihandle* ih, int x, int y)
{
  int col = iMatrixGetColResCheck(ih, x, y);
  if (col != -1)
  {
    ih->data->colres_drag_col_start_x = x;
    ih->data->colres_dragging =  1;
    ih->data->colres_drag_col = col;
    ih->data->colres_color = cdIupConvertColor(iupAttribGetStr(ih, "RESIZEMATRIXCOLOR"));
    return 1;
  }
  else
    return 0;
}
int iupMatrixColResStart ( Ihandle * ih , int x , int y ) { int col = iMatrixGetColResCheck ( ih , x , y ) ; if ( col != -1 ) { ih -> data -> colres_drag_col_start_x = x ; ih -> data -> colres_dragging = 1 ; ih -> data -> colres_drag_col = col ; ih -> data -> colres_color = cdIupConvertColor ( iupAttribGetStr ( ih , " " ) ) ; return 1 ; } else return 0 ; }
Verify if the mouse is in the intersection between two of column titles,
if so the resize is started
Verify if the mouse is in the intersection between two of column titles if so the resize is started