Calling Screen Align From C#

  • Thread starter Thread starter Scott Paul
  • Start date Start date
S

Scott Paul

I'm needing to call the Pocket PC screen alignment utility
from my C# application. Does anyone know the name of the
DLL file? Does this have to be done with a wrapper?

Thanks in advance.
..
 
It can be done by launching the control panel with specific arguments to
show the required screen.

You will need to use the CreateProcess API function- see the OpenNETCF
WinAPI function for an implementation:-
http://www.opennetcf.org/winapi.asp

Core.CreateProcess("ctlpnl.exe","cplmain.cpl,7,0");

All the built in applets are in the cplmain.cpl control panel file. The
Screen applet is applet 7, there is a full list somewhere however the url
escapes me...

Peter
 
Thanks for both responses. The TouchCalibrate() was a little easier to
implement, and it's exactly what I needed. Thanks again.
 
Back
Top