MCPcopy Create free account
hub / github.com/WinMerge/winmerge / GetMessageString

Method GetMessageString

Src/MainFrm.cpp:1666–1672  ·  view source on GitHub ↗

* @brief Handle translation of default messages on the status bar */

Source from the content-addressed store, hash-verified

1664 * @brief Handle translation of default messages on the status bar
1665 */
1666void CMainFrame::GetMessageString(UINT nID, CString& rMessage) const
1667{
1668 // load appropriate string
1669 const String s = I18n::LoadString(nID);
1670 if (s.length() > 0)
1671 AfxExtractSubString(rMessage, s.c_str(), 0);
1672}
1673
1674void CMainFrame::ActivateFrame(int nCmdShow)
1675{

Callers

nothing calls this directly

Calls 2

LoadStringFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected