ok i am wondering how to add data to an existing title bar without the title bar itself overlapping when using the WM_TIMER event
here is the code that i am using
void CJokDlg::OnTimer(UINT nIDEvent)
{
CString time;
CWnd* tyu = GetForegroundWindow();
tyu->GetWindowText(time);
tyu->SetWindowText(time + "testing");
CDialog::OnTimer(nIDEvent);
}
thanks for any replies
here is the code that i am using
void CJokDlg::OnTimer(UINT nIDEvent)
{
CString time;
CWnd* tyu = GetForegroundWindow();
tyu->GetWindowText(time);
tyu->SetWindowText(time + "testing");
CDialog::OnTimer(nIDEvent);
}
thanks for any replies