[fixed]CIrrDeviceWin32 SetActiveWindow Fail

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Qps
Posts: 18
Joined: Thu Jan 27, 2011 2:02 pm

[fixed]CIrrDeviceWin32 SetActiveWindow Fail

Post by Qps »

The following functions are called even if ExternalWindow is set to false
SetActiveWindow
SetForegroundWindow

This causes the program to hang when using a child window handle, i think a check should be placed:

if(!ExternalWindow)
{
// set this as active window
SetActiveWindow(HWnd);
SetForegroundWindow(HWnd);
}
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: CIrrDeviceWin32 SetActiveWindow SetForegroundWindow Fail

Post by hybrid »

Yeah, ok, sounds reasonable. Will be fixed soon.
Post Reply