Click here to Skip to main content
15,922,894 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Screen Shot Pin
JimRoss2-May-06 12:06
JimRoss2-May-06 12:06 
QuestionContextMenu problem in Compact Framework? Pin
pmasknguyen27-Feb-06 6:02
pmasknguyen27-Feb-06 6:02 
Questionhandwriting recognition API Pin
hellrom26-Feb-06 6:08
hellrom26-Feb-06 6:08 
AnswerRe: handwriting recognition API Pin
Vasudevan Deepak Kumar1-Mar-06 22:46
Vasudevan Deepak Kumar1-Mar-06 22:46 
QuestionLogin Session ASP.NET Pin
oskardiazdeleon25-Feb-06 22:41
oskardiazdeleon25-Feb-06 22:41 
QuestionControl for Binding Text and Value using .NET Compact 2.0 Pin
VenkataRamana.Gali24-Feb-06 11:03
VenkataRamana.Gali24-Feb-06 11:03 
QuestionAccess Serial Port on PPC - NEWBY Pin
Embedded Tom24-Feb-06 9:02
Embedded Tom24-Feb-06 9:02 
QuestionCapturing Up and Down Button events in WinMobile5 Pin
paratracker23-Feb-06 8:15
paratracker23-Feb-06 8:15 
Has anyone noticed that up and down buttons in PPC'02 and '03 would scroll the drop-down list of a ComboBox, but in WinMobile5, those events change the focus to the next control?

I liked the old way because it meant you could respond to those events by loading whatever the value was in the next slot of the drop-down list and update the screen, enabling the user to 'shop' for the right value.

With the new modality, you have to tap to get the list and tap to make a selection - a much less effective means of 'shopping' for the right value. So, I want to over-ride that focus change behavior in WM5.

I tried capturing WM_KEYDOWN and WM_CHAR in the CComboBox and in the CDialog, but those events don't arrive in either place. Does anybody know where those 'physical' button events go?

Here's what I'd hoped I could accomplish:

void CMyNillaDialog::OnChar( UINT nChar, UINT nRepCnt, UINT nFlags )
{ // WM5 up arrow down arrow
if ( theApp.m_osVer == 5 && (nChar == 38 || nChar == 40) )
{ // we're running WM5 and the event is an Up or Down button
CWnd* ctl = GetFocus();
if ( ctl->IsKindOf( RUNTIME_CLASS( CSeekComboBox ) ) )
{ // a ComboBox has the focus...
// redirect this event to the CComboBox (prevent the focus change)
ctl->OnChar( UINT nChar, UINT nRepCnt, UINT nFlags );
return; // leave the focus on the CComboBox
}
}
// if it's not a CComboBox, let WM5 change the focus
// if it's not WM5, just handle it normally
CNillaDialog::OnChar( nChar, nRepCnt, nFlags );
}

-- modified at 14:17 Thursday 23rd February, 2006
Questionhow can i connect database SQL server Pin
Your Code23-Feb-06 1:25
Your Code23-Feb-06 1:25 
Question"Run Program After Device Inactivity" (evc++) Pin
ZapMe122-Feb-06 8:20
ZapMe122-Feb-06 8:20 
AnswerRe: "Run Program After Device Inactivity" (evc++) Pin
Jonas Larsson22-Feb-06 23:55
Jonas Larsson22-Feb-06 23:55 
GeneralRe: "Run Program After Device Inactivity" (evc++) Pin
ZapMe123-Feb-06 12:44
ZapMe123-Feb-06 12:44 
QuestionDisable ActiveSync with evc++ code Pin
ZapMe122-Feb-06 8:14
ZapMe122-Feb-06 8:14 
AnswerRe: Disable ActiveSync with evc++ code Pin
Jonas Larsson22-Feb-06 21:52
Jonas Larsson22-Feb-06 21:52 
GeneralRe: Disable ActiveSync with evc++ code Pin
ZapMe123-Feb-06 12:41
ZapMe123-Feb-06 12:41 
GeneralRe: Disable ActiveSync with evc++ code Pin
ZapMe15-Mar-06 7:35
ZapMe15-Mar-06 7:35 
QuestionThemes Pin
Fernando A. Gomez F.21-Feb-06 11:32
Fernando A. Gomez F.21-Feb-06 11:32 
QuestionAsynchronous Thread Communication in Windows CE Mobile Pin
Jethro6321-Feb-06 4:09
Jethro6321-Feb-06 4:09 
AnswerRe: Asynchronous Thread Communication in Windows CE Mobile Pin
Brian R21-Feb-06 14:09
Brian R21-Feb-06 14:09 
QuestionWeb service Pin
Khaled Mahmoud20-Feb-06 4:01
Khaled Mahmoud20-Feb-06 4:01 
QuestionRemote access to windows/linux pcs from symbian OS PDA Pin
shunnyboy18-Feb-06 11:22
shunnyboy18-Feb-06 11:22 
QuestionAsynchronous Messaging Question Pin
Jethro6317-Feb-06 7:53
Jethro6317-Feb-06 7:53 
AnswerRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:04
Chris S Kaiser17-Feb-06 8:04 
GeneralRe: Asynchronous Messaging Question Pin
Jethro6317-Feb-06 8:14
Jethro6317-Feb-06 8:14 
GeneralRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:24
Chris S Kaiser17-Feb-06 8:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.