From: | andrewmarkwell |
Date: | 12 Aug 99 at 15:46:02 |
Subject: | Re: Re: ENV and ENVARC |
From: andrewmarkwell@ukonline.co.uk
>From: "Lloyd Rosen" <seasons@softhome.net>
>
>>From: Allan Odgaard <Duff@DIKU.DK>
>
>>Well, save should do both. In most apps you'd do something like:
>
>> switch(action)
>> {
>> case ACTION_SAVE:
>> Save("EnvArc:" PROGRAM ".Prefs");
>> case ACTION_USE:
>> Save("Env:" PROGRAM ".Prefs");
>> break;
>
>> case ACTION_CANCEL:
>> Load("Env:" PROGRAM ".Prefs");
>> break;
>> }
>
>Thanks for the tips :)
>
>BTW. Odegaard, I noticed you're into MUI Custom Classes (I think ;).
>I'm curious if you or anyone's interested in doing a MCC that does menus
>like in (ick!) win, i.e. menuitems beneath titlebar in the window ?
>
You don't need MUI to do that... it will only slow the thing down.