CWnd::OnGetDlgCode

Usually, Windows CE handles all arrow-key and TAB-key input to a CWnd control. By overriding this method, a CWnd control can choose a particular type of input to process itself. The default OnGetDlgCode methods for the predefined control classes return a code appropriate for each class.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

afx_msg UINT OnGetDlgCode( );