Subj : CVS commit src/uifc/uifc3 To : Deuce From : Digital Man Date : Tue Dec 21 2004 11:31 pm Re: CVS commit src/uifc/uifc3 By: Deuce to Digital Man on Wed Dec 22 2004 12:32 am > > > > > Up/Down arrows should NOT exit unless K_DEUCEEXIT is set! > > > > > > > > There is actually a law against using your handle as part of a vari > > > > macro name. The penalties are very severe! > > > > > > Well, it IS documented as "Return whenever Deuce wants to exit" in uif > > > > Yuck. > > That option is only used by me in a Point Of Sale system I wrote for a > customer. Using it NOT on the specific POS siftware it was implemented for > would probobly be a bad idea. That's sorta irrelevant though, isn't it? I mean, you could used a name that actually described what the option does, like K_EXITONARROW or something. And if you're using the same mode bit to modify multiple behaviors, that's wrong too. You should use a different mode bit/flag/macro for each unique behavior requested. That was if Application X in the future wants that same functionality, it can use a meaningful macro to enable it. digital man Snapple "Real Fact" #106: You weigh less at the top of a mountain than at sea level. .