[Gambas-user] Issue 332 in gambas: Not able to use Desktop.ActiveWindow to change the active window

gambas at ...2524... gambas at ...2524...
Fri Oct 12 18:59:01 CEST 2012


Comment #4 on issue 332 by benoit.m... at ...626...: Not able to use  
Desktop.ActiveWindow to change the active window
http://code.google.com/p/gambas/issues/detail?id=332

Oops, my fault... I have to make a 3.3.4 version now.

As a temporary workaround, here is the code that activates a window:

_Desktop.SendClientMessageToRootWindow("_NET_ACTIVE_WINDOW", [1, 0, Value,  
0, 0], Value)

Replace 'Value' with the window handle (beware, it is specified twice).






More information about the User mailing list