   ON_UPDATE_UI problems in MFC
  Im developing an application that contains a toolbar, with an enum in the doc to only allow 1 button in the toolbar to be pressed down at any one time.I have an OnUpdate..(CcmdUI* pCmdUI){} for each of the buttons in the doc class also, but the OnUpdate functions are only executed once not all the time like they should be.I would appreciate any help!Thanks in advance,Keith 
  The Update-UI stuff is usually only called when the app is idle (meaning there''re no messages to process). Is there some heavy processing going on? Maybe you forgot to validate some area after repainting? ;  Actually I fixed it after, I had the OnIdle function overridden previously for some reason and I forgot to call the base class and I was just returning false, so ON_UPDATE_COMMAND_UI and toolbar docking was fucked up. Thanks for your help though!Keith 