From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,470860aa3e635a7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 27 Sep 2007 21:28:45 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <13duou81kg3sd1c@corp.supernews.com> <13f3e0vbb05s47c@corp.supernews.com> <13f6eg0te46m2a3@corp.supernews.com> Subject: Re: GNAT for MS Visual Studio Date: Thu, 27 Sep 2007 19:29:33 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.20.111.206 X-Trace: sv3-KDyDCn5lcHsgnNTEFvePHwAVphThqgrN7ztDqmcQBDTe5zIXAloHn0kstKArGkMk4kB/mCaym/kIVG0!TWIvQmeSY+rYfy51rzNvQa47Ofs9R7LHGGJzkm8kpZ5anIsg8SCCG+xC0tW7gyh2G1nuJPTOUv27!sbN6dLJkaBkuErTsCKs1WeiEaf58/g== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Xref: g2news2.google.com comp.lang.ada:2176 Date: 2007-09-27T19:29:33-07:00 List-Id: "Markus E L" wrote in message news:ltfy11y10v.fsf@hod.lan.m-e-leypold.de... > Steve, > > I'd like to press my point: Have you ever seriously considered not > using a GUI builder but building a GUI "by hand", just instantiating > and inserting the widget where needed? It might seem tedious at the > beginning, but, in my experience doesn't make much more work in the > long run. Furthermore it provides opportunities too, because if highly > dynamic GUIs are required (e.g. Widgets being replaced or removed > dependent on the state of the program or editing process), GUI > builders can't provide that (whereas "manual instantiation" has no > problems), and there is also the opportunity to tweak layout, > alignment, colours and inserting modified custom widgets. > To me that's too much like asking the question: Have you seriously considered not using a programming language and compiler and just programming in machine code? When you have a visual tool for creating a user interface, you can do things like restructure a window to meet new requirements with very little effort. In some cases you don't have to edit the code at all to bring about a significant change in appearance. Yes I have built up windows the hard way. I have done so using GWindows. If you have a fairly static application, where the user interface changes infrequently, it isn't a very big deal. But if you have an application that is revised frequently then if you don't have a visual tool for updating the UI after a relatively short time the UI degrades to something that is functional but just doesn't look good or is awkward to work with. > GUI builders are fine if you're programming for paper-shufflers: > Everything is a "form" than, as it was in the time of paper forms. > > But interactive software needs to be smarter -- and that is what GUI > builders can't provide in my (admittedly limited and perhaps dated > experience). So if I end up anyway not being able to use the GUI > builder, I could as well learn how to use the tool kit in the language > proper. If the components that are placed on forms are dynamic, and there is automatic interaction between the components on a form (like there is with .NET) then things can be very dynamic. Most of the applications I work on have to do with sawmill automation. Scanning logs at various stages of processing and optimizing the breakdown decisions and process. The application requires a lot of configuration to describe the machinery, the products being produced, and rules on how to cut things. There are dozens of dialogs in the system. Trying to maintain these using hand coded windows is just plain silly. Parts of the system are very dynamic... displaying 3d images of material being processed, diagnostic information, etc. Regards, Steve (The Duck) > > That said, I admit, I often use Glade to mock up a GUI for discussion > and demo screenshots. But more often than not, I'm also putting that > into code manually after I found what I (or the client) has been > looking for. Might be peculiarity of mine, though. > > Regards -- Markus >