| 264 | } |
| 265 | |
| 266 | ColumnInfo MakeColumn(Column::type column, const wchar_t* name, int format, int width) |
| 267 | { |
| 268 | ColumnInfo info; |
| 269 | info.enable = true; |
| 270 | info.column.iSubItem = column; |
| 271 | info.column.iOrder = column; |
| 272 | info.column.pszText = const_cast<wchar_t*>(name); |
| 273 | info.column.fmt = format; |
| 274 | info.column.cx = width; |
| 275 | info.column.mask = LVCF_SUBITEM | LVCF_ORDER | LVCF_TEXT | LVCF_FMT | LVCF_WIDTH; |
| 276 | return info; |
| 277 | } |
| 278 | |
| 279 | LRESULT CLogView::OnCreate(const CREATESTRUCT* /*pCreate*/) |
| 280 | { |