Subj : Re: Windows Procedural Programming To : comp.programming From : Phlip Date : Mon Jul 25 2005 03:16 am Joe Butler wrote: > By 'primitive', I'd read: 'fundamental', for 'generic', I'd read, > 'fundamental'. For _zillions_, well, I've just counted how many calls need > to be made to get a window up - 7 API calls. Then it's a matter of how > complex your Window behaviour is. If it's just gonna put some text on the > screen, well, that's a 3 API calls - and 2 of those are just the markers for > the beginning and end of the graphics drawing handler. This is nothing like > the zillions mentioned. I suspect that's 7 calls without the button. I posted code requiring 0 calls for the window and about 2 for the button. The library guesses: Gee maybe if they want a button, they need a window to go under it. That's what I mean by a smart wrapper. -- Phlip http://www.c2.com/cgi/wiki?ZeekLand .