본문 바로가기

Windows/MFC

Custom Window 생성 Create

[code]
생각보다 간단 간단? ^^
이제 내가 만든 컨트롤들이 탄생하겠군.
[/code]

[code]
BOOL CCustomMenu::Create(CWnd* pWnd)
{

    return CWnd::Create(
        AfxRegisterWndClass(CS_HREDRAW|CS_VREDRAW,
        AfxGetApp()->LoadStandardCursor(IDC_ARROW),
        GetSysColorBrush(COLOR_3DFACE)),
        _T("CustomMenu"),
        WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS, m_rect, pWnd, 0xFFFF);
}
[/code]

'Windows > MFC' 카테고리의 다른 글

CButtonExFlatProperty  (0) 2013.10.02
CButtonExFlat  (0) 2013.10.02
XP Theme 관련  (0) 2013.10.02
SetWindowPos 윈도우 크기 변경  (0) 2013.10.02
CFormView 에 배경색을 변경  (0) 2013.10.02