修改IHTMLDocument2背景

来源:互联网 发布:报纸版面编辑软件 编辑:程序博客网 时间:2024/05/01 03:37

 

CComQIPtr<IHTMLDocument2> spDoc2 = m_ShowCtl.get_Document();

if( !spDoc2 )

return ;

 

HRESULT hr = spDoc2->put_bgColor( CComVariant(CComBSTR(_T("pink") ) ) );

 

原创粉丝点击