Re: Keyboard messages in browser control on ATL dialog -- Urgent help

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 02/24/04


Date: Tue, 24 Feb 2004 09:26:42 -0500

Reread the part about modal dialogs and Windows hooks. Or, make the
dialog modeless, then you can pretranslate messages in your message
pump, right after GetMessage but before DispatchMessage.

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
"Anand" <chatterad@yahoo.com> wrote in message
news:06f501c3fadb$958c7d60$a101280a@phx.gbl...
> Hi Igor!
>
> Thanks for your reply. It was really useful. But my major
> problem is that my application is not even receiving any
> key down message.
>
> My dialog class is using the CAxDialogImpl template. I
> tried overriding the DefWindowProc function and even
> setting the GWL_WNDPROC.
>
> But even these are not getting the key down messages.
> Sounds weird but I really feel helpless. I can only handle
> it if I get notified for keydown, and I cant change the
> message loop also of the base class.
>
> Is there anything else I should know?
>
> Many thanks for your help,
>
> Anand.
>
> >-----Original Message-----
> >"Anand" <chatterad@yahoo.com> wrote in message
> >news:1c0a01c3fa14$625678f0$3501280a@phx.gbl...
> >> I am hosting web browser control on an ATL dialog box.
> >> When I load a web form in the browser instance, the TAB
> >> key does not move through the fields on the form.
> >
> >See http://www.microsoft.com/mind/0499/faq/faq0499.asp
> >-- 
> >With best wishes,
> >    Igor Tandetnik
> >
> >"For every complex problem, there is a solution that is
> simple, neat,
> >and wrong." H.L. Mencken
> >


Relevant Pages