[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error handling in IUP
- From: Antonio Scuri <scuri@...>
- Date: Fri, 25 Aug 2006 11:30:41 -0300
I've come across another issue now though. How do I use the
NATIVEPARENT attribute for iup.dialog?
Since its value is a HWND, in Lua this is an userdata.
So some how you show push that value in Lua and use it:
nativeparent_hwnd = getParentHWND()
dlg = iup.dialog
{
nativeparent = nativeparent_hwnd,
...
}
All known attributes that are userdata are handled that way.
If you were talking about PARENTDIALOG, then it is a string with
the name of the dialog that should be set using the SetHandle function.
Best,
scuri