Vincent Snijders wrote:
If the $IFDEF is already in place, then you could subclass the window proc yourself too using Windows.SetWindow(Self.Handle, GWL_WNDPROC, @MyWindowProc)

The use of SetWindowLong caused lot´s of crashes on my app, so I went back to TForm.WndProc.

I speak once more for the lack of need for the {$IFDEF}, unless someone can give arguments that it has *any* effect on the capability of Lazarus to be crossplatform, that IFDEF is useless (and anoying).

Felipe

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

Reply via email to