Micha Nelissen wrote:
Will the compiler complaint about the middle parameter being var / const?


Yes it will. Solved it by copying it to a local variable. Not exactly ideal :-/.

Can the windows unit import the FrameRect winapi function with const parameter instead of var ? AFAIK, windows does not modify the used rect, it's just passed as a pointer.

Thank you very much,

The fix works perfectly and is compatible with the way Delphi declares FrameRect.

Felipe

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

Reply via email to