Okay, couple of thngs,
How would you save a setting from a window to the registry. Say you have an EditControl and the defualt text was "hello" and then you changed it to "hello world". How would you save the new data to the registry? I know the procedure to use from the help file, but not in the correct way I need.
Also, how would I do the same for opening a window if I wanted to load my settings. Say the EditControl ID is "ECLocation", how would I read this from the registry, so when I fire my open window procedure it plonks the loaded data into the window ready?
My current open window procedure is...
code:
function OnEvent_MenuClicked(mnuPref)
{
var Wnd = MsgPlus.CreateWnd("Preferences.xml", "WndPref");
}
Phew - thanks in advance!