各位高手:
    请问UpdateAllViews函数的第2参数如何确定,根据什么确定?谢谢!

解决方案 »

  1.   

    第2、3个参数就给你自由发挥的
    最终传递给OnUpdate函数
      

  2.   

    Call this function after the document has been modified.  
    void UpdateAllViews(
       CView* pSender,
       LPARAM lHint = 0L,
       CObject* pHint = NULL 
    );
     Parameters
    pSender
    Points to the view that modified the document, or NULL if all views are to be updated. lHint
    Contains information about the modification. pHint
    Points to an object storing information about the modification.