I think CAppUtils::SetWindowTitle already handles this.