commitmonitor Code
Monitor your SVN repositories and notifies you on new commits
Brought to you by:
steveking
--- a/trunk/src/DiffViewer.cpp +++ b/trunk/src/DiffViewer.cpp @@ -223,6 +223,15 @@ return true; } +void CDiffViewer::SetTitle(LPCTSTR title) +{ + int len = _tcslen(title); + TCHAR * pBuf = new TCHAR[len+40]; + _stprintf_s(pBuf, len+40, _T("%s - CMDiff"), title); + SetWindowTitle(wstring(pBuf)); + delete [] pBuf; +} + void CDiffViewer::SetAStyle(int style, COLORREF fore, COLORREF back, int size, const char *face) { SendEditor(SCI_STYLESETFORE, style, fore);