| | | | Browse by category |
Article ID: 75
Last updated: 22 Jun, 2018
Problem
When I hit [Enter] in a grid that is embedded in a CDialog, the dialog exits. What I want is to have the grid handle the [Enter] key. How can I do that?
Cause
Action
You should override OnGetDlgCode (add a message map entry for WM_GETDLGCODE) for the CGXGridWnd and return DLGC_WANTALLKEYS.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 75
Last updated: 22 Jun, 2018
Revision: 3
Views: 1818
Posted: 23 Jan, 2001 by
Meltreger B.
Updated: 22 Jun, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)