There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Use SendMessage to TraceSpy
How can I use SendMessage in my program to TraceSpy if I already get TraceSpy window handler ?
my pusedo code as below:
hwnd = FindWindow(NULL, _T("Trace Spy"));
DWORD dwId = GetCurrentProcessId();
::SendMessage(hwnd, WM_SETTEXT, dwId, (LPARAM)szMsg);