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

Method OnInitDialog

DebugView++/AboutDlg.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace debugviewpp {
17
18BOOL CAboutDlg::OnInitDialog(CWindow /*wndFocus*/, LPARAM /*lInitParam*/)
19{
20 CenterWindow(GetParent());
21 m_srclink.SubclassWindow(GetDlgItem(IDC_DEBUGVIEW_SRC_URL));
22 m_link.SubclassWindow(GetDlgItem(IDC_DEBUGVIEW_URL));
23 int version[4] = { VERSION };
24 SetDlgItemText(IDC_VERSION, WStr(wstringbuilder() << L"DebugView++ V" << version[0] << L"." << version[1] << L"." << version[2] << L"." << version[3]));
25 SetDlgItemText(IDC_DATE, _T(__DATE__));
26 return TRUE;
27}
28
29void CAboutDlg::OnCloseCmd(UINT /*uNotifyCode*/, int nID, CWindow /*wndCtl*/)
30{

Callers

nothing calls this directly

Calls 2

WStrClass · 0.85
SubclassWindowMethod · 0.45

Tested by

no test coverage detected