>That's what I thought too.  But the value of sysPrefs.stayOnWhenPluggedIn
>doesn't seem to change no matter what the setting of "Stay on in Cradle"
>is.


Well, the General prefs panel just does this in order to set it:

GeneralPreferences.stayOnWhenPluggedIn = event->data.ctlSelect.on;
PrefSetPreference(prefStayOnWhenPluggedIn,
GeneralPreferences.stayOnWhenPluggedIn);

Maybe you should try PrefGetPreference() instead of PrefGetPreferenceS()...
although they should be the same.

Jesse



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to