Thread: [READ ME] A Guide to Windows Mobile 65
View Single Post
  #1  
Old 04-16-2009, 08:28 PM
Mike20PR's Avatar
Mike20PR Mike20PR is offline   Thread Starter  
SPJ Trend Setter ADMIN
Mobile Model: HTC Hero
Mobile Carrier: Sprint
Mobile OS: Android

 
Join Date: April 1st, 2008
Location: San Juan Puerto Pico
Posts: 3,547
Downloads: 0
Uploads: 0
Mike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their StuffMike20PR Knows Their Stuff


View Mike20PR's Profile   Edit Options Edit Profile Picture View Mike20PR's Photo Album Add Mike20PR's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Default A Guide to Windows Mobile 65

Windows Mobile 6.5



I am dedicating this thread to tips and tweaks for the newest era of Windows Mobile, version 6.5. I will be updating it everyonce in awhile with my findings, if you have something to share please feel free to post it as well.


Windows mobile 6.5 has changed a lot of things to attempt to make things more finger friendly and a little easier on the eyes. One of the new additions to 6.5 is the skinnable scrollbars, and built in "scroll action" with the swipe of a finger. With everything going gestures, you may want to completely do away with scroll bars (and you can) but i suggest something a little different to cleanup your devices screen..... Simply removing the up and down arrows.

If you are brave you can reduce the scrollbar's width to a half or quarter their original "defaut" size and only use them to be able to identify your location on your screen. To do this you will need to set your arrows to zero and adjust your scroll bar width in your registry. I would use Schaps Advanced Config to make your registry changes because it is alot simpler and safer, but if you just must do them by hand, here are the keys:

Change the thickness of scrollbars
To change the thickness of the scrollbars at the right/bottom of documents larger than the screen, adjust...
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 9 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 9 (DWORD decimal)
The default thickness is 13. You can set the value to anything you may like

Change the length of scrollbar arrow buttons
To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons...
For the horizontal (bottom) scrollbar arrows:
HKLM\System\GWE\cyVScr = 9 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxHScr = 9 (DWORD decimal)
The default length is 13. You can set the value to pretty much anything you like

Most of the Hacks for Titanium will come from the ".cpr" files found in the windows directory. Cpr files are simply xml files (and to edit them you will simply need to rename them to .xml, use an .xml editor, and then rename them back to .cpr) ....or you can of course just use the "right-click open as" and open them with word pad, microsoft xml editor, ect.


In Quote from drkfngthdragnlrd,

“ Quote ”

All .cpr's are the skin layout controllers for the respective parts of WinMo 6.5. The Start Manu, Titanium, Lockscreen, Incoming Calls, anything that has a CPR is all part of CHome. All all this stuff is is just a basic shell. WinMo 6.5 otherwise isn't anything new. It's safe to say if you find all the files and regiy it can be ported into 6.1 or even 6.0 as CHome first appeared in 6.0 on the T-Mobile Shadow as Neo.

If you want to make things simple You can grab the attachment to this post and copy paste it into your Windows Directory on your ppc.





.....but if you prefer to get down and dirty, everything is explained below:

If you want a more full synopsis on cpr files before we start you can find it here

Code

http://forum.xda-developers.com/showpost.php?p=3601164&postcount=2
In this specific Tweak you will want to find the CPR file named LS_LockScene[your resolution here].cpr Once you have it in your XML Editor you will want to find these Keys:

Code

<Slider ID="LockSlider" Top="3" Left="24" Width="192" Height="40" Orientation="Middle" OnPress="ShowNotifications" OnSlideLeftFinal="Unlock" OnSlideRightFinal="Unlock" >

    <Text ID="TapOrSlide" Top="45" Left="90" Width="60" Height="12" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">

    <Text ID="SlideToUnlock" Top="45" Left="90" Width="60" Height="12" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">

    <LockScreenListView ID="Notifications List" Top="51" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">
These are not the slider itself but will be in the way of where you are trying to move the slider and will need to also be moved:

Code

<LockScreenListView ID="Notifications List" Top="51" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">

        <Text ID="DateText" Left="150" Top="17" Width="90" Height="19" FontFamily="Tahoma" FontSize="11" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >

      <Layer ID="Appointment" Left="5" Top="50"  OnInitComplete="Binding:LockScreen,LS_Appointment">
        <Image Width="37" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\icn_cal_up.png"/>
        <Text ID="Subject" Left="40" Width="180" Height="17" FontFamily="Tahoma" FontSize="10" FontStyle="Bold"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Time" Left="40" Top="18" Width="180" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Location" Left="40" Top="34" Width="180" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
For a QVGA Device you will want to change them to this (to have my set-up):

Code

<Slider ID="LockSlider" Top="250" Left="24" Width="192" Height="40" Orientation="Middle" OnPress="ShowNotifications" OnSlideLeftFinal="Unlock" OnSlideRightFinal="Unlock" >

    <Text ID="TapOrSlide" Top="234" Left="90" Width="60" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">

        <Text ID="SlideToUnlock" Top="234" Left="90" Width="60" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">

    <LockScreenListView ID="Notifications List" Top="188" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">

<Layer ID="TimeX" Top="3">
      <Image ID="TimeBG" Width="240" Height="52" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\LS_TimeBG.png"/>
    
       <Text ID="DateText" Left="150" Top="17" Width="90" Height="19" FontFamily="Tahoma" FontSize="10" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >
 
<Layer ID="AppointmentX" Left="29" Top="57">
      <Layer ID="Appointment">
        <ActiveIcon ID="Display Appointment" OnInitComplete="Binding:LockScreen,LS_Appointment">
          <Image Width="32" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\icn_cal_up.png"/>
          <Text ID="Subject" Left="34" Top="2" Width="150" Height="17" FontFamily="Tahoma" FontSize="10" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
            <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
            <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
          </Text>
          <Text ID="Time" Left="34" Top="34" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
            <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
            <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
          </Text>
          <Text ID="Location" Left="34" Top="20" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
            <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
            <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
          </Text>
        </ActiveIcon>

If you would like to change the slider to be located to the left (like s2u) you can change the orentaion of it like this:

Code

<Slider ID="LockSlider" Top="3" Left="5" Width="192" Height="40" Orientation="Left" OnPress="ShowNotifications" OnSlideRightFinal="Unlock" >

If you would like to take a look at mine (or just use it and copy it to your device) you can get it from the attachment to this post.

WARNING: My file is for QVGA Devices.
Attached Files
File Type: zip LS_LockScene_240x320.zip (2.2 KB, 5 views)
Reply With Quote
The Following 5 Users Say Thank You to Mike20PR For This Useful Post:
1LOMOFO (04-16-2009), D/\SH (04-17-2009), GokuSS3 (04-16-2009), jr5416 (04-16-2009), TaylorSPJ (04-16-2009)