Storing a variable?
Moderator: Moderators
-
Xerpher
- Posts: 9
- Joined: 2003-06-02 14:34
- Location: Canada
Storing a variable?
Sorry for this simple question, but how do I set a variable that is set in the uploads tab in the settings dialog so that I can access it within the ShareManager class?
-
sarf
- Posts: 382
- Joined: 2003-01-24 10:43
- Location: Sweden
Ehm... OK, here a short-short howto :
Add a variable to the SettingsManager.
Add an edit field (or somesuch) to the IDD_UPLOADPAGE or whatever.
Connect the variable with the edit field in the UploadPage.cpp.
Use the variable in SettingsManager from the ShareManager class.
Sarf
---
The Eleventh Commandment: Thou shalt not get caught.
Add a variable to the SettingsManager.
Add an edit field (or somesuch) to the IDD_UPLOADPAGE or whatever.
Connect the variable with the edit field in the UploadPage.cpp.
Use the variable in SettingsManager from the ShareManager class.
Sarf
---
The Eleventh Commandment: Thou shalt not get caught.
Who is online
Users browsing this forum: Google [Bot] and 0 guests