[lazarus] More Native Win32 stuff (Pascal, can you helphere?)

Jeff Wormsley daworm at cdc.net
Tue Aug 10 11:20:14 EDT 1999


On 8/10/99, at 9:52 AM, Shane Miller wrote: 

>Each component would have it's own unique windows procedure because each control create's it's own unique TControl.
>I will have to look at how Delphi does it to give you anything useful.  Right now I'm trying to find an SNA client so I can try to get TDS running under Linux using WINE.

This is what I was getting at.  Currently TControl does not define a windows procedure, and adding one would mean putting Win32 directly into the LCL, not moving it out under Interfaces.  Could it be that the windows procedure would be ignored under linux?  Could it be implemented by making the include directories be divided into API levels, then the make file specifies the appropriate includes for each API, so that a GTK TControl does not have a windows procedure, but a Win32 one does?  It breaks putting everything into Interfaces, but as long as these things are private, and the public and protected interface is the same, it could work.

Jeff.







More information about the Lazarus mailing list