----- Original Message ----- From: "Marc Weustink" <[EMAIL PROTECTED]>

Ah.. this is a common issue. While a lot of ppl think all routines you use in delphi are from delphi, it in fact isn't. You have the ones made by Borland which you will find in the rtl or vcl and you have the translation of windows api.
PtInRect is such function. It is defined in the Windows Unit.

Since Lazarus is crossplatform, it doesn't have a windows unit. Most common used winapi functions you normally would find in the windows unit are implemented in the LCIIntf unit.

----- Original Message ----- From: "Graeme Geldenhuys" <[EMAIL PROTECTED]>
Well in that case stop stressing and just post a quick message to the
FPC or Lazarus mailing list and ask what you are looking for (by
describing it) and if there exists such a function.  The Lazarus
mailing list has a friendly bunch of people (we don't bite) and
replies are written quite quickly. You can even use the IRC channel if
you like (though I'm not a IRC fan).

Thanks Marc and Graeme

PtInRect wasn't a show-stopper. Probably only took about 10 minutes looking, if that.

About all platforms have some kind of PtInRect, isn't rocket science.

PtInRect was just a convenient example I recalled of something 'dirt common' down in there that doesn't seem documented or REALLY EASY to find.

It was not DIFFICULT to find, but 5 or 10 minutes here and there, eventually add up (grin). I do a lot of looking-up of functions, because my memory is too poor to remember their details.

----- Original Message ----- From: "George Lober" <[EMAIL PROTECTED]>

Not sure how current this one is, but is useful just the same:

     http://www.lazarus.freepascal.org/lcl_doc/allident.html


George, thanks. Had not found those pages. That's great!

Noticed that it was generated in 2003 by PasDoc.

http://pasdoc.sipsolutions.net/

Didn't know about PasDoc. That is a fabulous tool.

I downloaded PasDoc and GraphViz, ran it on one of my huge projects, and it is fabulous cross-reference, and pretty decent documentation, in areas where I typed in adequate comments. It runs surprisingly fast.

I don't have time to run PasDoc on the Lazarus folder, but that might be an entirely adequate solution to SteveG's quest (and what I was piling-on about).

PasDoc picks out relevant comments so well, it makes me think the following--

A lot of Lazarus code is not verbosely commented, probably for stylistic preferences of the developers.

But if some of us could chip in enough contributions for a 'commenting bounty', to entice one of the experts who knows LCL forward/backward, to take a week or whatever, weed thru all the code and add verbose comments...

Running PasDoc on verbosely commented LCL code would probably generate an eminently useful "Lazarus Innards Reference Manual"?

jcjr
_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to