Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialogs Help

Status
Not open for further replies.

MarkPQ

Programmer
Feb 21, 2002
7
AU
Hi All,

I'm making an application that is connecting to numerous brands of devices through different protocols (ie serial, FTP, telnet). I'm ok with programming the functionlity of the communication stuff but I'm getting bogged down on the windows end of the programming because its all new to me!

I'm after some help and maybe some advice on how I should do this. At the moment I'm doing a dialog based application that I'm using to select different devices and connection options which will open up the appropriate dialog.

I was wondering how I could communicate which options were selected in the main dialog to the new dialog so it can call the correct functions to connect to the device.

Or rather, any adivce on better ways of doing this? I'm not to sure on how to do this but would packing the different functions into their own libraries or dll's or something be better?

Thanks in advance
-Mark
 
the best I think is to create your own classes which hold
your functions.
then you declare pointers to these classes and pass the
pointers to your new dialog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top