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

Method OnInitDialog

DebugView++/SourcesDlg.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64BOOL CSourcesDlg::OnInitDialog(CWindow /*wndFocus*/, LPARAM /*lInitParam*/)
65{
66 m_grid.SubclassWindow(GetDlgItem(IDC_SOURCES_GRID));
67 m_grid.InsertColumn(0, L"", LVCFMT_LEFT, 32, 0);
68 m_grid.InsertColumn(1, L"Source description", LVCFMT_LEFT, 280, 0);
69 m_grid.InsertColumn(2, L"Type", LVCFMT_LEFT, 100, 0);
70 m_grid.InsertColumn(3, L"", LVCFMT_LEFT, 16, 0);
71 m_grid.SetExtendedGridStyle(PGS_EX_SINGLECLICKEDIT);
72
73 UpdateGrid();
74 CenterWindow(GetParent());
75 DlgResize_Init();
76 return TRUE;
77}
78
79LRESULT CSourcesDlg::OnClickItem(NMHDR* pnmh)
80{

Callers

nothing calls this directly

Calls 1

SubclassWindowMethod · 0.45

Tested by

no test coverage detected