[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: IUP NATIVEPARENT (was: Error handling in IUP)
- From: Antonio Scuri <scuri@...>
- Date: Mon, 28 Aug 2006 11:10:48 -0300
This doesn't work.
dlg.nativeparent = nativeparent_hwnd
The issue in these cases seems to be iuplua.lua's implementation of
ihandle_settable(), which will not pass through light userdata
(pointer) types to the underlying ihandle object.
I have, however, got it working setting it directly, using:
iup.SetAttribute(dlg, "NATIVEPARENT", nativeparent_hwnd)
Ok. I only checked the SetAttribute implementation. I will review
the ihandle_settable implementation to fix that.