Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: vespene- on May 28, 2004, 03:13 AM

Title: I need help somebody please look
Post by: vespene- on May 28, 2004, 03:13 AM
Hey I want to know is there a code for linking forms.....  as in Say if you are making somthing and you have settings on the menu... how would i be able to make it so when i click settings it goes to the settings form?  if you could help please help me
Title: Re:I need help somebody please look
Post by: Adron on May 28, 2004, 11:19 AM
Quote from: vespene- on May 28, 2004, 03:13 AM
Hey I want to know is there a code for linking forms.....  as in Say if you are making somthing and you have settings on the menu... how would i be able to make it so when i click settings it goes to the settings form?  if you could help please help me

You would write code to display the settings form in an appropriate place and way.

You might perhaps be registering the code with something, overriding some virtual function, or just adding a case somewhere. It all depends on what OS, GUI, API etc you are using. C/C++ can use many...
Title: Re:I need help somebody please look
Post by: Zakath on May 28, 2004, 01:49 PM
Since presumably you are working in Windows, I suggest making a dialog template in your resource file, and calling CreateDialog() on it when the menu item is clicked.
Title: Re:I need help somebody please look
Post by: Eli_1 on May 28, 2004, 02:53 PM
Eww@posting the exact same question 4 times.  :o