MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SelectString

Method SelectString

Editor/Controls/InPlaceComboBox.cpp:671–679  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

669
670//////////////////////////////////////////////////////////////////////////
671void CInPlaceComboBox::SelectString( LPCTSTR pStrText )
672{
673 m_wndEdit.SetWindowText(pStrText);
674 int sel = m_wndDropDown.GetListBox().FindString( -1,pStrText );
675 if (sel != LB_ERR)
676 {
677 SetCurSel(sel,false);
678 }
679}
680
681//////////////////////////////////////////////////////////////////////////
682CString CInPlaceComboBox::GetSelectedString()

Callers 13

SetCurrentSequenceMethod · 0.80
SetBrushMethod · 0.80
ReloadLayersMethod · 0.80
SelectBoneMethod · 0.80
ReloadBehaviorsMethod · 0.80
ReloadCharactersMethod · 0.80
OnInitDialogMethod · 0.80
SetKeyMethod · 0.80
SetKeyMethod · 0.80
SelectLibraryMethod · 0.80
UpdateControlDataMethod · 0.80
OnEditSurfaceTypesMethod · 0.80

Calls 2

FindStringMethod · 0.80
SetWindowTextMethod · 0.45

Tested by

no test coverage detected