all groups > dotnet compact framework > october 2005 >
You're in the

dotnet compact framework

group:

activesync and menubar


activesync and menubar a NO[at]SPAM b.com
10/31/2005 9:01:29 PM
dotnet compact framework: i am running my app full screen. When I sync the PDA up with
activesync, the menubar pops up, which allows the user to exit my app.

Is there anyway to prevent activesync from popping up that menubar on
sync? I know i can set it to manual sync, but i need it to sync on
Re: activesync and menubar Peter Foot [MVP]
11/1/2005 7:58:36 AM
You should be able to catch this by handing the Deactivated event of your
form and bringing it back to the front. You could also try this technique to
ensure your form is top-most and should prevent activesync from appearing
above it:-
http://www.peterfoot.net/CreateATopMostForm.aspx

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

[quoted text, click to view]

Re: activesync and menubar a NO[at]SPAM b.com
11/1/2005 9:15:44 PM

Thanks but your example from
http://www.peterfoot.net/CreateATopMostForm.aspx doesnt work. The
function gets called, but still the menubar still comes up on sync.

Also, I don't see a Deactivated event for a form. How can I use this
event? I use C#




On Tue, 1 Nov 2005 07:58:36 -0000, "Peter Foot [MVP]"
[quoted text, click to view]
AddThis Social Bookmark Button