以下一段代码为什么没有反应
BOOL CPetWindowDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
//得到最顶层的那个窗体的句柄
HWND hwndTop=::GetTopWindow(NULL);
RECT r;
HDC cc=::GetDC(hwndTop);
::GetClientRect(hwndTop,&r);
//在窗体上写字
TextOut(cc, r.left, r.top, "Defenestration can be hazardous", 23);
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
}
没有写出字来