关于CWnd::OnGetDlgCode
来源:互联网 发布:asio网络库 编辑:程序博客网 时间:2024/06/11 18:44
关于CWnd::OnGetDlgCode
afx_msg UINT CWnd::OnGetDlgCode( );
Called for a control so the control can process arrow-key and TAB-key input itself. Normally, Windows handles all arrow-key and TAB-key input to a CWnd control. By overriding OnGetDlgCode, a CWnd control can choose a particular type of input to process itself. The default OnGetDlgCode functions for the predefined control classes return a code appropriate for each class.
Return Value
One or more of the following values, indicating which type of input the application processes:
· DLGC_BUTTON Button (generic).
· DLGC_DEFPUSHBUTTON Default pushbutton.
· DLGC_HASSETSEL EM_SETSEL messages.
· DLGC_UNDEFPUSHBUTTON No default pushbutton processing. (An application can use this flag with DLGC_BUTTON to indicate that it processes button input but relies on the system for default pushbutton processing.)
· DLGC_RADIOBUTTON Radio button.
· DLGC_STATIC Static control.
· DLGC_WANTALLKEYS All keyboard input.
· DLGC_WANTARROWS Arrow keys.
· DLGC_WANTCHARS WM_CHAR messages.
· DLGC_WANTMESSAGE All keyboard input. The application passes this message on to the control.
· DLGC_WANTTAB TAB key.
- 关于CWnd::OnGetDlgCode
- 关于CWnd和HWND
- CWnd
- CWnd
- CWnd
- CWnd
- CWnd
- MSDN中关于CWnd::OnChar()帮助有误?
- 关于CWnd::Attach( HWND hWndNew )摘录;
- 关于CEdit或者CWnd的setSel问题。
- 关于MFC CWND::Invalidate()使用的小结
- CWnd::SubclassWindow
- CWnd::Attach
- CWnd::DoDataExchange
- CWnd::UpdateData
- CWnd::OnCtlColor
- CWnd::OnEraseBkgnd
- CWnd::OnNcHitTest
- 数据库中视图的作用
- 栈的实现
- 数据结构 挂牌成立啦
- 一个求两字串最长子序列的java算法
- 学习CSS的10大理由
- 关于CWnd::OnGetDlgCode
- c#连接数据库锦
- ACCP软件工程师认证有用吗?
- 绘制边框
- 准备金率上调,银行贷款加息对房产的影响
- 绘制3D按钮
- 队列的实现
- 一位软件工程师的6年总结
- ALL Torrent Sites!