My friend using irrlicht mentioned he had to replace in CIrrDevieWin32
and replace all instances of HWND with GetAncestor(HWnd, GA_ROOT)
this was needed to get events working when using irrlicht inside a foreign window (in this case it was a SFML window, but the procedure is the same of the irrlicht tutorials).
Anyone that known deeply winApi could check this change so we can add it to trunk?
HWND GetAncestor
HWND GetAncestor
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: HWND GetAncestor
That doesn't sound correct. We got an example (no. 14) of Irrlicht running inside another Window and that works with the current solution (and this sounds like it would break it). I also got a project using it inside WTL which also works already.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm