Micha Nelissen wrote:
We strive for the "code once, compile everywhere" motto right ? So the idea
is that if you receive/send messages in the LCL, or call methods there,
that they work cross-platform. Sending all win32 messages to LCL breaks
that idea.

Perhaps the idea, but the actual result is that never a message with an ID >= WM_USER will arrive to the win32 widgetset unless, of course, the programmer put some code to make it happen. In this case he is already saying he wants those messages.

If someone is writting a cross-platform WndProc he won´t be affected in anyway, because those strange >= WM_USER messages won´t appear if he doesn´t write code to make them appear.

I would say that it is important to be cross-platform, but we can still be cross-platform and still allow some platform-dependent techniques. This technique, specificaly, provides compatibility with Delphi.

By the way. Do we have a place where the compilation defines are documented? Perhaps we should create an wiki page?

Felipe

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

Reply via email to