MCPcopy Create free account
hub / github.com/cinience/RedisStudio / SetAttribute

Method SetAttribute

DuiLib/Control/UIWebBrowser.cpp:446–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446void DuiLib::CWebBrowserUI::SetAttribute( LPCTSTR pstrName, LPCTSTR pstrValue )
447{
448 if (_tcscmp(pstrName, _T("homepage")) == 0)
449 {
450 m_sHomePage = pstrValue;
451 }
452 else if (_tcscmp(pstrName, _T("autonavi"))==0)
453 {
454 m_bAutoNavi = (_tcscmp(pstrValue, _T("true")) == 0);
455 }
456 else
457 CActiveXUI::SetAttribute(pstrName, pstrValue);
458}
459
460void DuiLib::CWebBrowserUI::NavigateHomePage()
461{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected