Capture Action Button Press

  • Thread starter Thread starter David Hanson
  • Start date Start date
D

David Hanson

Hi all,

I thought this one would be simple but seems to be causing me a few
problems. I am developing for SmartPhone 2003 using the Compact
Framework. I have a Tree view control with 5 items in it. None of
which have sub items. What i'm trying to do it open a new form when
the user clicks the big action button in the middle of the phone.
Unfortunatly the keypress event does not seem to fireing when the user
presses this button. I have tried this on the form Keypress and the
Treeview KeyPress.

Can anyone point me in the right direction?
 
Hi,

For V1.0 Key events are only supported on a small subset of controls (form,
panel, custom controls, textboxes, and datagrid) - not Treeviews.
You could purhaps use a listview with .View=List, and tap into the
ItemActivate event.

Hope this helps you out,
-Katie

--------------------
| From: (e-mail address removed) (David Hanson)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Capture Action Button Press
| Date: 17 Oct 2003 13:10:36 -0700
| Organization: http://groups.google.com
| Lines: 12
| Message-ID: <[email protected]>
| NNTP-Posting-Host: 80.3.59.109
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1066421436 31616 127.0.0.1 (17 Oct 2003
20:10:36 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Fri, 17 Oct 2003 20:10:36 +0000 (UTC)
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!no
t-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:36268
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi all,
|
| I thought this one would be simple but seems to be causing me a few
| problems. I am developing for SmartPhone 2003 using the Compact
| Framework. I have a Tree view control with 5 items in it. None of
| which have sub items. What i'm trying to do it open a new form when
| the user clicks the big action button in the middle of the phone.
| Unfortunatly the keypress event does not seem to fireing when the user
| presses this button. I have tried this on the form Keypress and the
| Treeview KeyPress.
|
| Can anyone point me in the right direction?
|

This posting is provided "AS IS" with no warranties, and confers no rights.
 
yes I understand that? Just thought there would be someway I could subclass
the control? Anyone tried this?
 
Back
Top