Comment #4 on issue 332 by benoit.m...@gmail.com: 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).



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to