在ATL简单对象中如何显示窗口(小白求助)

创建了一个ATL简单对象,然后在构造函数里显示窗口。想获得网页的句柄,上网查资料

HDC hDC;
HWND hWnd ;
// Get the HDC from the client

m_spInPlaceSite->GetDC(NULL, OLEDC_NODRAW, &hDC);
// Get the HWND from the HDC
hWnd = WindowFromDC(hDC);
m_spInPlaceSite->ReleaseDC(hDC);

在VS2008中运行m_spInPlaceSite未定义,m_spInPlaceSite是什么东西。怎么定义和初始化啊!