On 11/26/2011 12:07 AM, Mattias Gaertner wrote:

QT functions are beyond the LCL docs.


The fishy thing is that there are WIN-API-look-alike functions in the LCL (such as PostMessage() ) and the lack of a documentation suggests that they are suppose to work as documented by Microsoft (even if the program is not running on Windows). This is not the case with any other LCLWidgetType.

This of course is because in Delhi does the same thing (here of course no other WidgetType than Windows is available at all).

IMHO, at best, these LCL features would be dropped in favor of portable functions (such as TApplication.QueuAsyncCall and TThread.Queue), that can be decently and independently documented. Maybe a "WindowsCompatibility" unit might be provided to allow for using the windowish functions for those who know what they are doing.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to