CControlBar的OnUpdateCmdUI函数调用问题
OnUpdateCmdUI is called by the framework when the application is idle. The frame window to be updated must be a child window, at least indirectly, of a visible frame window. OnUpdateCmdUI is an advanced overridable.
--------------------------------
这个idle指的是什么?
如果程序一空闲,OnUpdateCmdUI就被调用,那CPU启不是总是接近于100%了.
OnUpdateCmdUI函数的调用是根据什么来判断的?
请达人给指点一下,框架是如何判断是否该调用OnUpdateCmdUI函数的.