<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Problem with restricting the editWindow to Text. - Comments</title>
 <link>http://www.newlc.com/forum/problem-restricting-editwindow-text</link>
 <description>Comments for &quot;Problem with restricting the editWindow to Text.&quot;</description>
 <language>en</language>
<item>
 <title>Re: Problem with restricting the editWindow to Text.</title>
 <link>http://www.newlc.com/forum/problem-restricting-editwindow-text#comment-46253</link>
 <description>&lt;p&gt;Hi pankaj,&lt;/p&gt;

&lt;p&gt;Thanks once again, yes i have already done the same thing as you told and its working fine.&lt;/p&gt;

&lt;p&gt;Thanks al ot.&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 12:29:55 +0200</pubDate>
 <dc:creator>sandesh</dc:creator>
 <guid isPermaLink="false">comment 46253 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Problem with restricting the editWindow to Text.</title>
 <link>http://www.newlc.com/forum/problem-restricting-editwindow-text#comment-46251</link>
 <description>&lt;p&gt;Hi Sandesh,&lt;/p&gt;

&lt;p&gt;Don&#039;t filter out the event types just filter out the event codes... I mean remove the first if condition and let all types of key events &lt;br /&gt;
(EEventKeyDown, EEventKey, EEventKeyUp) to pass to the edwin control....&lt;/p&gt;

&lt;p&gt;Br,&lt;br /&gt;
Pankaj&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 12:17:47 +0200</pubDate>
 <dc:creator>dubepankaj1980</dc:creator>
 <guid isPermaLink="false">comment 46251 at http://www.newlc.com</guid>
</item>
<item>
 <title>Problem with restricting the editWindow to Text.</title>
 <link>http://www.newlc.com/forum/problem-restricting-editwindow-text</link>
 <description>&lt;p&gt;hi to all,&lt;br /&gt;
I am using an edit window and i just want to accept it as a text input(A-Z),for that i am using OfferKeyEventL() and restricting text as &lt;/p&gt;

&lt;p&gt;TKeyResponse CInputTextEdwin::OfferKeyEventL(const TKeyEvent &amp;aKeyEvent, TEventCode aType)&lt;br /&gt;
  {&lt;br /&gt;
  if( aType == EEventKeyDown )&lt;br /&gt;
  {&lt;br /&gt;
  	&lt;br /&gt;
 &lt;br /&gt;
  	if( (aKeyEvent.iScanCode &gt;= 65) &amp;&amp; (aKeyEvent.iScanCode &lt;=90 ) )&lt;br /&gt;
  	  {&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/problem-restricting-editwindow-text&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/problem-restricting-editwindow-text#comments</comments>
 <category domain="http://www.newlc.com/forums/uiq">UIQ</category>
 <pubDate>Mon, 14 Apr 2008 17:10:20 +0200</pubDate>
 <dc:creator>sandesh</dc:creator>
 <guid isPermaLink="false">20706 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
