Re: [WIN] Who wants a tough question?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 19, 2000
- 427 views
Hi Derek, Ok, I understand your desire to make things "consistent", I'm just not sure it's more important than keeping things *simple*, like they were; maybe it is, I dunno. But your second suggestion, having two functions like create(), one that allows user specified styles to be used *in place of defaults*, and the other just using the default flags (& presumably allowing *addition* of user styles with the default?), seems to me to be a very good idea, I'm glad you thought of it. I'd vote to do that, but I'd suggest that you retain the use of "create" for your "default only" one, and use "createSt" or "createStyled" for the "user styles predominate" one, just to make typing easier. Dan ----- Original Message ----- From: "Derek Parnell" > <snip> > And yet another idea to get around this idealogical impass, how about having > two functions like create(), one that behaves in the manner you are > describing, and the other just using the default flags. > > win = createStyledControl(<controltype>, > <caption>, > <parent>, > <left>,<top>,<width>,<height>, > {<styleflags, extendedstyleflags}> > ) > > win = createControl(<controltype>, > <caption>, > <parent>, > <left>,<top>,<width>,<height> > ) > > > ------ > Derek Parnell > Melbourne, Australia > (Vote [1] The Cheshire Cat for Internet Mascot)