BCGControlBar Pro for MFC
int CBCGPTask::m_nWindowWidth

Specifies the task window width.

It's zero if the task has no window.