|
-
Nov 22nd, 2002, 10:21 AM
#1
Thread Starter
Addicted Member
Creating user interface DLLs
I don't know if this is possible. I am looking to implement a tool that can be easily integrated into a 'master' tool. However, my tool MUST be user interface driven so that the user can be stepped through the process.
I was hoping to implement this tool as one (or more) dlls. However, I was not sure whether user interfaces can be displayed through dlls.
Is it possible? - or perhaps the 'master' tool could provide a dialog box for the dll to handle?
If you could give me any information about this I would be grateful.
HD
-
Nov 22nd, 2002, 10:49 AM
#2
Monday Morning Lunatic
A DLL can contain a {Wnd,Dlg}Proc, and one function called from outside will subsequently call Create{Window,Dialog} 
It works very similarly to normal window creation. You can even have a dialogue resource in your DLL
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 22nd, 2002, 10:57 AM
#3
Thread Starter
Addicted Member
I assume that I can therefore use MFC to create dialog resources that can be displayed? Using the MFC AppWizard (DLL)?
HD
-
Nov 22nd, 2002, 02:37 PM
#4
Monday Morning Lunatic
Um. You *might* be able to. MFC is a bit of a wildcard if you want to do anything even vaguely different to what MS say you want to make
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 23rd, 2002, 07:44 AM
#5
You can write a DLL that uses MFC. But it's not easy and poorly documented.
Just make sure that you link dynamically to MFC in the exe and every dll that uses MFC, else you have an app that loads the MFC several times...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|