Re: Keyboard accelerators not working in IWebBrowser2

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 12/16/04

  • Next message: chernyshevsky_at_hotmail.com: "Re: Keyboard accelerators not working in IWebBrowser2"
    Date: Thu, 16 Dec 2004 13:33:30 -0500
    
    

    <chernyshevsky@hotmail.com> wrote in message
    news:1103219235.871043.312450@z14g2000cwz.googlegroups.com
    > "What is the..." that is. Stupid typo.
    >
    > Anyway, I look at the message log of the web browser window with Spy++
    > and it's getting all the keyboard messages. Why wouldn't it translate
    > the accelerators? Please don't tell me that ActiveX accelerators need
    > to be translated at the main application message loop, 'cause that
    > would mean I'm screwed.

    It is indeed the job of the container. Not all of it, but the container
    has to cooperate. See IOleInPlaceActiveObject::TranslateAccelerator. See
    also

    http://www.microsoft.com/mind/0499/faq/faq0499.asp

    -- 
    With best wishes,
        Igor Tandetnik
    With sufficient thrust, pigs fly just fine. However, this is not 
    necessarily a good idea. It is hard to be sure where they are going to 
    land, and it could be dangerous sitting under them as they fly 
    overhead. -- RFC 1925 
    

  • Next message: chernyshevsky_at_hotmail.com: "Re: Keyboard accelerators not working in IWebBrowser2"

    Relevant Pages

    • Re: Keyboard accelerators not working in IWebBrowser2
      ... I look at the message log of the web browser window with Spy++ ... and it's getting all the keyboard messages. ... Why wouldn't it translate ... Please don't tell me that ActiveX accelerators need ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)
    • Re: Windows Ada database support.
      ... But you can translate into SQL. ... : My_ Fancy_DB.Execute ("BAZ ...")? ... a container that refers to my object. ...
      (comp.lang.ada)