X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: PaulCsouls Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows GUI Programming with DJGPP Message-ID: References: <1117125981 DOT 919136 DOT 51260 AT g44g2000cwa DOT googlegroups DOT com> <3ftr2oF9hct1U1 AT news DOT dfncis DOT de> <3g0vkqF9v62kU2 AT news DOT dfncis DOT de> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 Date: Mon, 30 May 2005 18:20:27 GMT NNTP-Posting-Host: 12.72.219.13 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1117477227 12.72.219.13 (Mon, 30 May 2005 18:20:27 GMT) NNTP-Posting-Date: Mon, 30 May 2005 18:20:27 GMT Organization: AT&T Worldnet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 30 May 2005 17:08:42 GMT, Hans-Bernhard Broeker wrote: >PaulCsouls wrote: > >> Why do we need the windows API? > >Because it's the way Windows32 programs have to use to talk to the OS. >As the saying goes: "While in Rome, do as the Romans do." > >> Isn't it possible to create, buttons, menus and windows controlled >> by a mouse without it? > >Not really --- you need some access to the graphics hardware, and at >least under modern, NT-based versions of Windows, the OS won't let >your program put its dirty fingers on that other than through an >intermediary layer. That's exactly the Win32 API. I though Allegro would work. I haven't tried but I thought it could work with the mouse. Paul C