MCPcopy Create free account
hub / github.com/bbbradsmith/nsfplay / OnInitDialog

Method OnInitDialog

nsfplug_ui/KeyHeader.cpp:44–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42// KeyHeader ���b�Z�[�W �n���h��
43
44BOOL KeyHeader::OnInitDialog()
45{
46 CDialog::OnInitDialog();
47
48 CDC *pDC = GetDC();
49
50 m_hedBitmap.LoadBitmap(IDB_KEYHEADER);
51 m_hedDC.CreateCompatibleDC(pDC);
52 m_hedDC.SelectObject(&m_hedBitmap);
53 m_memBitmap.CreateCompatibleBitmap(pDC,MaxWidth(),MinHeight());
54 m_memDC.CreateCompatibleDC(pDC);
55 m_memDC.SelectObject(&m_memBitmap);
56 m_memDC.SelectObject(&softgray_pen);
57
58 ReleaseDC(pDC);
59 return TRUE; // return TRUE unless you set the focus to a control
60}
61
62void KeyHeader::OnPaint()
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected