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

Method SetSubControlUserData

DuiLib/Core/UIContainer.cpp:848–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846 }
847
848 bool CContainerUI::SetSubControlUserData( LPCTSTR pstrSubControlName,LPCTSTR pstrText )
849 {
850 CControlUI* pSubControl=NULL;
851 pSubControl=this->FindSubControl(pstrSubControlName);
852 if (pSubControl!=NULL)
853 {
854 pSubControl->SetUserData(pstrText);
855 return TRUE;
856 }
857 else
858 return FALSE;
859 }
860
861 DuiLib::CDuiString CContainerUI::GetSubControlText( LPCTSTR pstrSubControlName )
862 {

Callers

nothing calls this directly

Calls 2

FindSubControlMethod · 0.95
SetUserDataMethod · 0.80

Tested by

no test coverage detected