specific os properties lazarus / 7-LCL ---------------------------------------------------------------------- Dark1 · 2006-07-08 16:34 How about a set of components that handle specific os events and properties, like windows transparency or other more elusive events. It would really be nice to skip those nasty ifdefs (they don't look good and i don't think they make the code more readable either), besides i doubt everyone knows every platform, i personally didn't even see a mac in real life, and linux ... (don't have the courage, but i do like open source) Is something like this doable ? PS excuse my poor english ---------------------------------------------------------------------- felipemdc · 2006-07-08 23:59 Yes, sure. It was discussed on the mailling list that the prefered way to implement this is to implement SetWindowRgn as it is on windows api on to be located on lclintf unit. This way Delphi apps using this API will also work on gtk and qt. It is also necessary to implement the TRegion class on every important widgetset. There is a bug report about it here: http://www.freepascal.org/mantis/view.php?id=1804 ---------------------------------------------------------------------- Anonymous · 2006-07-09 09:11 Actually i was thinking of a component like applicationproperties but that's even better. ---------------------------------------------------------------------- felipemdc · 2006-07-09 19:06 Take a look at the unit LCLIntf. There are various Windows API calls there that are implemented on every every widgetset (of course they are not implemented on windows, they just redirect the call to windows api there).