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

Method SetAttribute

DuiLib/Control/UIActiveX.cpp:947–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945}
946
947void CActiveXUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
948{
949 if( _tcscmp(pstrName, _T("clsid")) == 0 ) CreateControl(pstrValue);
950 else if( _tcscmp(pstrName, _T("modulename")) == 0 ) SetModuleName(pstrValue);
951 else if( _tcscmp(pstrName, _T("delaycreate")) == 0 ) SetDelayCreate(_tcscmp(pstrValue, _T("true")) == 0);
952 else CControlUI::SetAttribute(pstrName, pstrValue);
953}
954
955LRESULT CActiveXUI::MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, bool& bHandled)
956{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected