lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



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.

Thanks,
scuri