I tried to implement your code but it doesn't work. I have a staic text box as well. Idid the following:

CString m_pCString
m_pCString = (CString *) m_BpauDialogBar.GetDlgItem(IDC_DISK_SPACE);

How do I set the string item on the dialog bar?