I'm trying to hide the current application window, ideally sending it to the background and forcing the homescreen to the front. I want to be able to return to the app, either by using task manager or launching the app shortcut. I've tried to use the GetDesktopWindow() followed by SetForegroundWindows() function but this doesn't seam to be available in c#. I'm developing using .net 2003 for Smartphone 2003 platform.
Returning to the Homescreen from an application
Started by
dh
, Apr 08 2004 09:55 PM
#1
Posted 08 April 2004 - 09:55 PM
#2
Posted 09 April 2004 - 09:45 AM
I don't know if .net has it's own way - I don't use it - but if you want to use this native (c++) code, it works:
just look in the help for keybd_event for details of which library to link
keybd_event(VK_LWIN,0,0,0); keybd_event(VK_LWIN,0,KEYEVENTF_KEYUP,0);
just look in the help for keybd_event for details of which library to link
#3
Posted 09 April 2004 - 09:23 PM
It does, just the job. Thanks, there's always so many ways to acheive what you want, it seems I'd tried and search for everything but sending the homekey, strange really as it right in front of me!
Thanks for you help
Thanks for you help
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users






Sign In
Create Account


Back to top









