Hi
I have a toolbar, with some buttons on it. I added a message handler for COMMAND (ie. when it's clicked) and UPDATE_COMMAND_UI (which I thought would run every frame or so...)
I need it to execute the corresponding method:
OnUpdateButton(CCmdUI* pCmdUI)
every few cycles, which I thought it did automatically. But it never enters this method! Could somebody clear up this misunderstanding please?
I have a toolbar, with some buttons on it. I added a message handler for COMMAND (ie. when it's clicked) and UPDATE_COMMAND_UI (which I thought would run every frame or so...)
I need it to execute the corresponding method:
OnUpdateButton(CCmdUI* pCmdUI)
every few cycles, which I thought it did automatically. But it never enters this method! Could somebody clear up this misunderstanding please?