Window ReDraw and ActiveSync trigger


N

Neville Lang

Hi all,

In my C# app (using WM2003), I have a form where I hide the TaskBar at the
top in order to get more space. There is no problem with this as everything
is working well. However, I have noticed that if this form is the one that
was displayed when the Pocket PC is turned off then when the PPC is
"cradled", my form is re-displayed when the screen is automatically turned
on. Then ActiveSync gets triggered and there is a MessageBox on the PPC
screen over my form indicating the ActiveSync activity. When this MessageBox
disappears, my form gets redrawn as if the TaskBar is currently displayed,
that is 26 pixels down from the top.

Can anyone tell me if anything is going on in the CF at this point or is
this redraw done at the operating system level, like a screen capture and
restore?

Since I require power off/on to emulate the ActiveSync triggering, I cannot
use the VS .NET 2003 debugger in this scenario to trace what is happening.

Regards,
Neville
 
Ad

Advertisements

A

Alex Yakhnin [MVP]

Can anyone tell me if anything is going on in the CF at this point or is
this redraw done at the operating system level, like a screen capture and
restore?
Yes, IMO, it comes from OS's shell.

Not sure if the Resize event will be called on your form...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Triggering activesync event 4
RDA or Merge Replication with ActiveSync Trigger 3
Flicker on redrawing 1
ListBox redraw 1
ActiveSync 2
ActiveSync 8
activesync 1
ActiveSync 1

Top