BCGControlBar Pro for MFC
int CBCGPTask::m_nWindowHeight

Specifies the task window height.

It's zero if the task has no window.