Pocket PC FAQ Forums Forum Index Pocket PC FAQ Forums
The place to discuss Windows Mobile, Pocket PCs, Smartphones, Handheld PCs, Windows CE and More!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

restoring windows ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows CE Questions/Comments
View previous topic :: View next topic  
Author Message
maanikmca
Pocketeer


Joined: 20 Nov 2010
Posts: 8

PostPosted: Wed Dec 08, 2010 11:59 pm    Post subject: restoring windows ? Reply with quote

Hi ,



Am developing windows ce application in vs 2008, i have 3 Forms in my application, in main form i have 2 links for that two forms, in another 2 forms i have minimize button, i can minimize the window,



once i click form2 link it opens and i minimized it, and then am click the form 2 again, but its not getting my running window, it opens another form2 ?



i cant restore the windows which is running back of main window ?



is there any way to restore my running process ?



i have tried ?





IntPtr winHandle = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle;


ShowWindow(winHandle, SW_RESTORE);



but it dint work ?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows CE Questions/Comments All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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



Copyright 2001-2010, Chris De Herrera, All Rights Reserved

Powered by phpBB © 2001, 2005 phpBB Group