PC Review


Reply
Thread Tools Rate Thread

Calling Screen Align From C#

 
 
Scott Paul
Guest
Posts: n/a
 
      2nd Dec 2003
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.
..


 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      2nd Dec 2003
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

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"Scott Paul" <(E-Mail Removed)> wrote in message
news:050d01c3b8e2$7e37c650$(E-Mail Removed)...
> 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.
> .
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      2nd Dec 2003
Simply call TouchCalibrate() which I believe is in coredll.dll

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Scott Paul" <(E-Mail Removed)> wrote in message
news:050d01c3b8e2$7e37c650$(E-Mail Removed)...
> 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.
> .
>
>



 
Reply With Quote
 
Scott Paul
Guest
Posts: n/a
 
      2nd Dec 2003
Thanks for both responses. The TouchCalibrate() was a little easier to
implement, and it's exactly what I needed. Thanks again.



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have 'align left' and 'align centre' on tool bar I need align ri Blue Shadow Microsoft Word Document Management 1 17th Dec 2007 07:30 PM
<div align=center> also affects align of dynamic dropdown item text Steve Richter Microsoft ASP .NET 1 24th Jun 2007 08:11 PM
Align web page on screen =?Utf-8?B?VFNVTDU2OTM=?= Microsoft Frontpage 2 1st Mar 2007 09:33 AM
Split screen and align right facilities in Word =?Utf-8?B?Sm9obiBSdW5uZXI=?= Microsoft Word Document Management 3 11th Oct 2006 05:18 PM
How to right align text but left align lines on first character? =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Word Document Management 1 10th Aug 2006 09:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:23 PM.