[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: wxLua - HWND to Lua wx object
- From: Procházka Lukáš Ing. <LPr@...>
- Date: Mon, 11 May 2020 18:25:48 +0200
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