when i run it, i get an error with an assertion on the VERIFY
line:
this is in the bartool.cpp file included in MFC, this is not my fileCode:void CToolBar::_GetButton(int nIndex, TBBUTTON* pButton) const { CToolBar* pBar = (CToolBar*)this; VERIFY(pBar->DefWindowProc(TB_GETBUTTON, nIndex, (LPARAM)pButton)); // TB_STATE_ENABLED == TBBS_DISABLED so inver it pButton->fsState ^= TBSTATE_ENABLED; }
obviously




Reply With Quote