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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: T'Interface attribute Date: Wed, 9 Aug 2017 18:03:42 -0500 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Wed, 9 Aug 2017 23:03:43 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="2569"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:47666 Date: 2017-08-09T18:03:42-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:omeca9$11pb$1@gioia.aioe.org... > On 2017-08-09 02:38, Randy Brukardt wrote: >> "Dmitry A. Kazakov" wrote in message > >> We didn't bother. My recollection is that Windows doesn't make a >> distinction >> anyway, I believe all Windows "windows" can be clicked, just some have >> default actions in that case, and others do nothing. > > So you basically drop typing. I don't. There are lots of languages going > this path. Why use Ada? We were binding Windows (specifically Win32), not creating some abstract GUI. Trying to impose typing on an underlying design (especially one as complex as Win32) that doesn't have it is almost always a losing game. The goal of Claw was to allow anything that Win32 would allow, just in a higher-level manner. Moreover, allowing all of the messages to be delivered to every Window, besides being necessary if Claw could be used on window types that it wasn't aware of, also allows creating interesting new types of windows from low-level operations. The Claw Builder uses this extensively in supporting its editing mode (which relies heavily on overlays over otherwise normal windows). Randy.