I want to write a actviex control using Directx8 to draw something on it. so I use ATL to builld a full control project, and then select the window only option. Though I get a valid HWND(m_hWnd), I couldn't use this to initialize the D3D device, I always get a NULL LPDIRECT3DDEVICE8 ------------------------ yupl@163.net yupl@eyou.com PHD YLLY
Y
YLLY
@YLLY