[SetupXP] The two styles for handling activation refusal

Robert Collins rbcollins@cygwin.com
Mon Jul 21 08:43:00 GMT 2003


On Mon, 2003-07-21 at 17:32, Morrison, John wrote:


> Would...
> 
> if (canActivate())
> 	OnActivate()
> 
> be better? (although the OnXXX functions always make me think that
> they should be callbacks.)

Yes - I was simply leaving method names alone until I had an answer on
the ordering breaking [or not] anything.

alternatives - canShow(), okToDisplay() ... etc.

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030721/a5f86215/attachment.sig>


More information about the Cygwin-apps mailing list