Technology Questions

Go Back   Technology Questions > Hardware Questions > Electronics > Smartphones

Smartphones This is the Microsoft General Public Smartphones Newsgroup.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-19-2009, 10:57 AM
knopper
Newsgroup Contributor
 
Posts: n/a
Why app windows delays to go to front ?

I have tried to bring my app to foreground, if the app restart.

HWND currhwnd= CWnd::FindWindow(NULL, APP_NAME);
if (currhwnd!= NULL)
{
SetForegroundWindow(currhwnd);
SetFocus(currhwnd);
SetActiveWindow(currhwnd);
// ::SendMessage(currhwnd, WM_APP + 7,0,0);
return FALSE;
}

but it takes several seconds to show in front. I have tried to send command
from other app. But it does the same efffect ???!!!!


It works very smart on PPC but not on smartphone

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-19-2009, 10:57 AM
  #2 (permalink)  
Old 01-19-2009, 10:57 AM
Linley Meslier
Newsgroup Contributor
 
Posts: n/a
RE: Why app windows delays to go to front ?

Please post your query to the developer community in the link below. You will
certainly get an answer there:

http://www.microsoft.com/communities...&lang=en&cr=us


--
Linley Meslier
Microsoft MVP - Mobile Devices
Http://PocketpcMauritius.blogspot.com
Http://PPCMUDownloads.blogspot.com/


"knopper" wrote:

> I have tried to bring my app to foreground, if the app restart.
>
> HWND currhwnd= CWnd::FindWindow(NULL, APP_NAME);
> if (currhwnd!= NULL)
> {
> SetForegroundWindow(currhwnd);
> SetFocus(currhwnd);
> SetActiveWindow(currhwnd);
> // ::SendMessage(currhwnd, WM_APP + 7,0,0);
> return FALSE;
> }
>
> but it takes several seconds to show in front. I have tried to send command
> from other app. But it does the same efffect ???!!!!
>
>
> It works very smart on PPC but not on smartphone
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why app windows delays to go to front ? knopper Smartphones 1 11-29-2008 09:20 AM
Re: Windows NT 4.0 back in front of Linux Moshe Goldfarb Windows Vista 0 04-01-2008 08:20 AM
Front USB Ports with Windows Vista Corymca Vista Hardware 2 10-31-2007 08:00 AM
Windows XP Explorer - right click delays Graham Masters Windows XP 4 09-19-2007 02:10 AM
Windows XP Explorer - right click delays Graham Masters Windows XP 0 09-19-2007 02:09 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 08:04 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0