PyCStatusBarCtrl = GetStatusBarCtrl()

Gets the statusbar control object for the statusbar.

MFC References

CStatusBar::GetStatusBarCtrl Note that below we take the address of rTBC because it's a reference and not a pointer and ui_assoc_object::make expects a pointer. We need to create a new class and not do a map lookup because in MFC CToolBarCtrl is simply a casted CToolBarCtrl (afxext.inl) so the lookup will return the PyCToolBar object which will fail the type tests.