
atl dll with and mfc modeless dialog
Quote:
>when creating and atl dll with MFC support can you create modeless dialog
>boxes that uses the standard windows tabbing and accelerators?
>For example
>Create an ATL project with mfc support.
>Add a COM component to it.
>Add a regular Dialog, and create a class for it
>now Create() it from a method in the COM component
>You'll also need a test app to create the COM server and call the method.
>You'll notice that it mostly works, you can click the buttons, and things
>act normal. but, try tabbing between controls. hit the esc key. ? the
>Enter key. Why did these stop working?
Actually I just ran into the same problem this week, except with a pure ATL
control. The answer for me was to read KB article Q216503. But if you're
like me and you don't want to modify the main application message loop, take
a look at Q187988 as well (thanks Igor!).
-Anatoly
-------------------------------------------------------
DTLink (Software), LLC http://www.dtlink.com
Get your FREE download of Personal Stock Monitor!
"Powerful Investment Software."
Ziff-Davis Award 1998, Shareware Industry Award 1999
-------------------------------------------------------