Home > Back-end >  About MFC in a List Control controls
About MFC in a List Control controls

Time:09-20

LONG lStyle;
LStyle=GetWindowLong (RasterBI m_hWnd, GWL_STYLE);//get the current window style
LStyle & amp;=~ LVS_TYPEMASK;//remove displayed a
LStyle |=LVS_REPORT;//set style
SetWindowLong (RasterBI m_hWnd, GWL_STYLE lStyle);//set style

RasterBI. InsertColumn (0, "properties", LVCFMT_LEFT, 108);
RasterBI. InsertColumn (1, "value", LVCFMT_LEFT, 108);

RasterBI. InsertItem (1, "lateral size X");
RasterBI. InsertItem (2, "lateral size Y");
RasterBI. InsertItem (3, "the band number");

LStyle=GetWindowLong (VectorBI m_hWnd, GWL_STYLE);//get the current window style
LStyle & amp;=~ LVS_TYPEMASK;//remove displayed a
LStyle |=LVS_REPORT;//set style
SetWindowLong (VectorBI m_hWnd, GWL_STYLE lStyle);//set style

VectorBI. InsertColumn (0, "properties", LVCFMT_LEFT, 108);
VectorBI. InsertColumn (1, "value", LVCFMT_LEFT, 108);

VectorBI. InsertItem (1, "the number of objects");
VectorBI. InsertItem (2, "the layer number");




Want to ask why the edge will be a column,,, how to eliminate
  • Related