/[winpt]/trunk/Src/wptListView.cpp
ViewVC logotype

Diff of /trunk/Src/wptListView.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC revision 28 by twoaday, Thu Oct 20 12:35:59 2005 UTC
# Line 62  listview_release( listview_ctrl_t ctx ) Line 62  listview_release( listview_ctrl_t ctx )
62    
63    
64  int  int
65  listview_add_column( listview_ctrl_t ctx, listview_column_t col )  listview_add_column (listview_ctrl_t ctx, listview_column_t col)
66  {        {      
67      int rc = 0;      int rc = 0;
68      LV_COLUMN lvc;      LV_COLUMN lvc;
# Line 73  listview_add_column( listview_ctrl_t ctx Line 73  listview_add_column( listview_ctrl_t ctx
73      lvc.cx = col->width;      lvc.cx = col->width;
74      lvc.fmt = LVCFMT_LEFT;      lvc.fmt = LVCFMT_LEFT;
75      lvc.iSubItem = col->pos;      lvc.iSubItem = col->pos;
76      if( ListView_InsertColumn( ctx->ctrl, col->pos, &lvc ) == -1 )      if( ListView_InsertColumn (ctx->ctrl, col->pos, &lvc) == -1)
77          rc = 1;          rc = 1;
78      ctx->cols++;      ctx->cols++;
79      return rc;      return rc;

Legend:
Removed from v.23  
changed lines
  Added in v.28

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26