none
Problems on BHO/ Toolbar RRS feed

  • Pergunta

  • Hi,

     

    I´m working in a BHO/ Toolbar using ATL / C++ 

     

    The base of the project:

    Internet Explorer Toolbar (Deskband) Tutorial -> Motley Fool

    http://www.codeproject.com/KB/shell/ietoolbartutorial.aspx

     

    1- After installation how i put the band visible and the bho active(working) without interference of user click  (View\Toolbars\"My Band" )

    i tried this but it don´t work

    http://support.microsoft.com/kb/255920

     

    2 - How can i detected refresh page(LAST document complete)?

    i tried this but it don't work with me

    http://support.microsoft.com/kb/180366/

    and this:

    void STDMETHODCALLTYPE CStockBar::OnDocumentComplete(IDispatch *pDisp, VARIANT *pvarURL){

     if (spTempWebBrowser && m_spWebBrowser && m_spWebBrowser.IsEqualObject(spTempWebBrowser))

     {

     //Work only in a normal page.

     }

    }

    and this too:

    http://www.codeproject.com/KB/IP/detecting_the_ie_refresh.aspx

    3 - The Event DISPID_TITLECHANGE don´t work on Internet Explorer 8?

    SINK_ENTRY_EX(1, DIID_DWebBrowserEvents2 , DISPID_TITLECHANGE, OnTitleChange)

    void STDMETHODCALLTYPE OnTitleChange(BSTR bstrTitle);

    4 - The Motley Fool(Code Project) has a bug in IE6, it blocks a new window.

     Same project, same problem :(

     

     

    if someone has the solution for one of situations please send me a email

    rafael.nunes@polo-it.com.br

    thanks in advance,

    Rafael.

    quarta-feira, 28 de dezembro de 2011 19:02