void CScreenProfile::UpdateProfileName() { m_pCurrent->SetString(FormatTempString(IDS_CURRENT_PROFILE,m_szProfile)); CreateProfileList(); }
void CScreenProfile::UpdateProfileName() { wchar_t wszBuffer[MAX_PROFILENAME_LEN + 64]; FormatString( "IDS_CURRENT_PROFILE", wszBuffer, LTARRAYSIZE(wszBuffer), m_szProfile ); m_pCurrent->SetString( wszBuffer ); CreateProfileList(); }