BOOL CTttDlg::OnInitDialog()
{
    CreateWindowEx( 0,
                  "button",
                  "hello",
                  WS_CHILD | WS_VISIBLE,
                  0,
                  0,
                  50,
                  30,
                  m_hWnd,
                  (HMENU)40,
                  AfxGetApp()->m_hInstance,
                  NULL
                  );    
    return TRUE;  // return TRUE  unless you set the focus to a control
}