MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / MakeColumn

Function MakeColumn

DebugView++/LogView.cpp:266–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266ColumnInfo 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
279LRESULT CLogView::OnCreate(const CREATESTRUCT* /*pCreate*/)
280{

Callers 1

OnCreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected