[Lazarus] Carbon Nested Windows

J. Stelkens email at accsone.com
Fri Jul 23 10:12:23 CEST 2010


No, I'm working on the current released version 0.9.28.2. And the plug only gots the parents windows "real" carbon WindowRef... 


At 09:42 23.07.2010, you wrote:
>23.07.2010 15:26, J. Stelkens wrote:
>
>>i'm working on a bigger lazarus project running as a plugin and have the task to modify the carbon interface so that one can create a TForm within a given parent window comming from the host. The TForm.CreateParented function seems to be not functional yet for carbon interface. And it seems that MacOS does not have a simple call to nest windows.
>
>Did you test with the development version?
>
>I worked on CreateParented - it can create a window with the passed parent Handle but this must be a handle of LCL controls only in most of widgetsets. Carbon is on of them becase TWinControl.Handle points to the TCarbonWidget instead of HiViewRef/WindowRef. At the moment I don't know how to solve this problem.
>
>Best regards,
>Paul Ishenin.
>
>
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus






More information about the Lazarus mailing list