| Author |
Message |
yourbuddypal
Joined: 20 Dec 2007 Posts: 1
|
Posted: Thu Dec 20, 2007 5:51 pm Post subject: Setting a foreground window with managed code |
|
|
| There is a win32 api method (SetForegroundWindow) that can be used to set the focused window if you have the window handle. Is there a way to do this with managed code? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Thu Dec 20, 2007 6:13 pm Post subject: |
|
|
Hi,
I'd happened to come across some information on this yesterday while searching doing some other research, and the consensus I get is that things like bringing the window to the front from the taskbar or giving focus seem to only be available by invoking the Windows API. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group