quote:
Originally posted by whiz
In terms of editing XML files, there isn't a built-in editor in the Plus! script editor, so I recommend Notepad++.
Also, you can enable and disable controls based on whether a checkbox is ticked like this:
js code:
Interop.Call("user32", "EnableWindow", /* window */.GetControlHandle(/* control ID */), /* boolean */);
For example, to enable a button called "BtnOk" when a checkbox called "ChkConfirm" is ticked:
js code:
function OnAboutEvent_CtrlClicked(PlusWnd, ControlId)
{
Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("BtnOk"), PlusWnd.Button_IsChecked("ChkConfirm"));
}
Cool, thanks for the help. I'll have to mess around with it in the next few days.
Whats the best way to handle user passwords? Encrypted in registry?