X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows GUI Programming with DJGPP Date: 30 May 2005 17:08:42 GMT Lines: 18 Message-ID: <3g0vkqF9v62kU2@news.dfncis.de> References: <1117125981 DOT 919136 DOT 51260 AT g44g2000cwa DOT googlegroups DOT com> <3ftr2oF9hct1U1 AT news DOT dfncis DOT de> X-Trace: news.dfncis.de SKnC7F48cL3m//MH2qFJCA+yRwW7xdqEfc5oquUE1L6xppBB81Ap5S1w+o X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.