我需要做的功能是:按一个按钮(VC标准控件),对网页上选中的文字进行说明。

解决方案 »

  1.   

    IHTMLDocument2::selection Property--------------------------------------------------------------------------------Retrieves an interface pointer to an object representing the active selection. The active selection can be an insertion point, or a highlighted block of text or other elements in the document upon which the user or a script can carry out an action. 
      

  2.   

    IHTMLDocument2::selection Property--------------------------------------------------------------------------------Retrieves an interface pointer to an object representing the active selection. The active selection can be an insertion point, or a highlighted block of text or other elements in the document upon which the user or a script can carry out an action. 
      

  3.   

    IHTMLDocument2::selection Property--------------------------------------------------------------------------------Retrieves an interface pointer to an object representing the active selection. The active selection can be an insertion point, or a highlighted block of text or other elements in the document upon which the user or a script can carry out an action. 
      

  4.   

    that is enough, for detail , see msdn.