|
-
May 10th, 1999, 08:43 AM
#1
A DLL with modeless dialogs and ActiveX!
I am probably making life much harder than necessary but what the heck!
What I am trying to achieve is:
1. A DLL which an MFC app can load dynamically.
2. The DLL will display its own dialogs (all modeless) independant of whether
the App's Dialog (main Window ) is visible or not
3. One of the DLL's dialogs needs to show an ActiveX control.
I have discovered that in order to use ActiveX the EXE must call AfxOleInit()
I now have the problem that messages are not getting to the DLL dialogs -
namely Keydown,etc (edits work, but tabbing around controls doesnt)
HELP!!
-
May 11th, 1999, 11:49 AM
#2
Re: A DLL with modeless dialogs and ActiveX!
I find this information in the 'DLLTRACE' sample help (VC++6.0):
The CWinApp object of a DLL, however, does not have a main message pump, as does the CWinApp object of an application. If the DLL opens modeless dialogs or has a main frame window of its own, the application's main message pump must call a routine exported by the DLL,...
-
May 11th, 1999, 12:40 PM
#3
Re: A DLL with modeless dialogs and ActiveX!
You should check out the post "Tabbing Problem with ActiveX" by Curtis Harrison, at
http://www.codeguru.net/bbs/wt/showp...collapsed&sb=5.
It looks like you are having the same problem he had, you might find some information there to help you.
Good luck, and happy coding,
=================================================
Valerie L. Bradley
Software Engineer
Intel Corporation
* All opinions expressed are mine and not those of my employer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|