[Touch HD Windows Mobile ROM Development] bigdyl69:
This was posted by bradyonly on ppcgeeks.com so credits to him for this: -

Unlike all of the other fixes that are aimed at the keyboard I did some playing around with "thread_sms.htm" in the windows folder. There's an arguement in there called "count" which calls some function that calculates the characters in the message after every letter. Removing this arguement stops tmail from calculating the character count thus eliminating the keyboard lag.

IF SOMETHING BREAKS JUST DELETE THREAD_SMS.HTM AND WINDOWS WILL RECREATE IT.

I have attached the HTM that I modified in case you don't want to do the editing yourself.

Summary:

Open Total Commander

Browse to the Windows folder

Look for "thread_sms.htm"

Hit file and go to edit

Scroll down (it's pretty short so it shouldn't be that far) and look for "count" then delete it. It's the only one in there so no need to worry about deleting the wrong one.

Save and restart the phone.

Enjoy!

Some of you wanted to see what I actually modified and where count was in the htm file.

Code:

<html XMLNS:Inbox>

<head>

<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />

<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />

<link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />

</head>

<body>

<Inbox:ThreadIFrame>

<Inbox:content id="THREADIFRAME" links threadviewminheight=45 />

</Inbox:ThreadIFrame>

<div id="threadbottom">

<hr class="divider" size="1" />

<Inbox:ComposeBodyCount>

<Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />

</Inbox:ComposeBodyCount>

<Inbox:ComposeSubject class="sms">

<Inbox:content id="COMPOSESUBJECT" width="98%" height=35 spell focus count links noclearonbackpresshold limit=0 autocap inserttab dynamicresize />

</Inbox:ComposeSubject>

</div>

</body>

</html>

So just delete the part in green!

Update - 17/06/09

I made another change to compose_sms.htm that gets rid of the

_______

0/130

display. It's just a blank window now and doesn't look like a broken counter was just placed there.

Here's my compose_sms.htm

Code:

<html XMLNS:Inbox>

<head>

<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90"/>

<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />

<link rel="stylesheet" href="file://\windows\compose_style.css" type="text/css" />

</head>

<body>

<a name="inbox:top"></a>

<table class="header">

<tr>

<td class="header">From:</td>

<td class="content">

<Inbox:ComposeFrom>

<Inbox:content id="COMPOSEFROM" />

</Inbox:ComposeFrom>

</td>

</tr>

<tr>

<td class="header"><a class="header" href="Inbox:COMPOSETO 0">To:</a></span>

<td class="content">

<Inbox:ComposeTo>

<Inbox:content id="COMPOSETO" nocr focus phone count />

</Inbox:ComposeTo>

</td>

</tr>

</table>

<div class="divider" />

<Inbox:ComposeSubject class="sms">

<Inbox:Content id="COMPOSESUBJECT" smartheight=50 limit=0 replyfocus links spell autocap inserttab />

</Inbox:ComposeSubject>

<!-- <div class="SMSLine" />

<Inbox:ComposeBodyCount>

<Inbox:Content id="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" />

</Inbox:ComposeBodyCount>

-->

<Inbox:Padding>

<a href="Inbox:ComposeSubject setfocus">

<Inbox:content id="PADDING" UseComposeSubjectHeight />

</a>

</Inbox:Padding>

</body>

</html>

Just add those two comment tags: <!-- and -->

They are highlighted in green for ease of finding. Alternatively you could just delete everything in between those comment tags for the same effect. I left it in there in case I wanted to add a little signature or logo or something.

Also added the attachment for compose_sms.htm

-Side note: I've done alot of flashing and I found that if you don't hard reset right after replacing or if you have SMS open it doesn't completely overwrite it and corrupts it a little. Make sure to reset right after replacing so windows doesn't have time to try to replace it (which is why I think it breaks).

fr0st was kind enough to make up a cab, I attached it to this post.