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

Method OnInitDialog

DebugView++/PropertyColorItem.h:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 END_MSG_MAP()
35
36 BOOL OnInitDialog(CWindow /*wndFocus*/, LPARAM /*lInitParam*/)
37 {
38 SetWindowText(m_title.c_str());
39 if (m_showAuto)
40 {
41 RECT rect = { 166, 160, 216, 176 };
42 m_btnAuto.Create(*this, &rect, L"Auto", WS_CHILD | WS_VISIBLE | BS_AUTOCHECKBOX | BS_TEXT | BS_LEFT, 0);
43 m_btnAuto.SetFont(GetFont(), FALSE);
44 m_btnAuto.SetCheck(m_auto ? BST_CHECKED : BST_UNCHECKED);
45 }
46 return TRUE;
47 }
48
49 void OnDestroy()
50 {

Callers

nothing calls this directly

Calls 3

SetFontMethod · 0.80
c_strMethod · 0.45
CreateMethod · 0.45

Tested by

no test coverage detected