[Help] Gettin' Window HWND

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
L1zb3th
Posts: 15
Joined: Thu Jul 26, 2007 1:27 am

[Help] Gettin' Window HWND

Post by L1zb3th »

hi everyone !
i'm trying to get the windows HWND of the Irrlicht Created window, but the problem is :
I try it on SExposedVideoData, but there is no HWND of a Software renderer, just d3d and opengl =S
any other structure that could hold this info for EDT_SOFTWARE ?

Adieu ^^
My Gramathicalz horrorz are precalkulated, zo Zhut Up !
_______
Bah, actually my english is poor, but...
forget it xDDDD
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

It doesn't look like it...

But I guess you could use some windows API functions? Like find the irrlicht process ID and get the HWND from that (e.g. like this)
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

yes, on windows you could use FindWIndow(...)... ;)

http://msdn2.microsoft.com/en-us/library/ms633499.aspx
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
L1zb3th
Posts: 15
Joined: Thu Jul 26, 2007 1:27 am

Post by L1zb3th »

yes, i know, FindWindowW() but, i've preferred the Irrlicht Method, but there is no one xDD
well, i suppose that i'll do it by the hard way xD

thanks ..

Adieu ^^
My Gramathicalz horrorz are precalkulated, zo Zhut Up !
_______
Bah, actually my english is poor, but...
forget it xDDDD
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

*bump*

Is there a reason why there is no HWND for the software modes, or can I put this as a feature request?
Post Reply