How to integrate GUI in C/C++ DLL?

Hi Friends,

Now, i'm developing C DLL using Microsoft VC++ 6.
I want to know how to make/integrate GUI (DialogBox) in C/C++ DLL..
Actually the problem i have is, i want the User to Put/Change Values required before DLL is starting..
So, when the DLL starting to be used, there will a Dialog Box displayed to User, and User's prompted to Put or Change some values (if needed)..

Sorry, i have no idea how to create it..
I don't know what Libraries and Header Files needed to make it..
Please give me suggestion how to getting started to make it..

Any help would be appreciated..

Thanks..
Leo
Last edited on
closed account (N6A4jE8b)
I don't know how to do much beyond a simple message box:
1
2
3
4
5
#include <windows.h>
int main()
{
MessageBox(NULL, "Message box", "Message box title", MB_OK);
}


That's basically all I can do as far as it goes with message/dialog boxes.
Hi,

@western, Thanks. :)
@All, Please give me any suggestions to create a Dialog Box in DLL (which developed using C)..
actually i want to know how to create a dialog as described as below :
On the Dialog i want to display "StaticText", "InputField", Checkboxes, Radio Button, and Ok/Cancel Button.
This Dialog is used as a "bridge", so the user can Input/change any values as he/she wants.
After Input/change the value, the DLL will running.
So Everytime DLL want to be used , User has to Input/Change value on Dialog Box.

Please help me how to do this.

Thanks,
Leo

closed account (N6A4jE8b)
I don't think you can use radio buttons and checkboxes in a Windows API message box. But you can use Ok/Cancel buttons by changing the last argument from MB_OK to MB_OKCANCEL.
Topic archived. No new replies allowed.