lua-users home
lua-l archive

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


Hello,

this is specific for wxWidgets/Lua and Windows:

Suppose that in WinAPI, windows are handled by HWND, which is a pointer.

This pointer can be retrieved e.g. by "GetConsoleWindow()" (WinAPI function) - and this value should be transformed somehow into wxWidget object and into Lua/wx userdata ("class" - with a specific metatable) -

- simply: I need e.g. GetConsoleWindow() (WinAPI, C) to become a parent of e.g. "wx.wxMessageBox()" (wxLua).

How to achieve this?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org