Objective Grid: Validating a grid embedded in a dialog

Article ID: 174
Last updated: 04 Jun, 2018
Article ID: 174
Last updated: 04 Jun, 2018
Revision: 3
Views: 1739
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 04 Jun, 2018
by Meltreger B.

Problem


How can I validate the grid in a dialog?


Cause



Action


You should insert DDV_GXGridWnd( ) in the CDialog-derived DoDataExchange( ) method:

// validation routine for CGXGridWnd controls
DDV_GXGridWnd(pDX, GetGridWnd( ));

// - OR - validation routine for CGXTabWnd controls
DDV_GXTabWnd(pDX, GetTabWnd( ));

// - OR - validation routine for CGXGridHandleWnd controls
DDV_GXGridHandleWnd(pDX, GetGridWnd( ));

This article was:   Helpful | Not helpful
Report an issue
Article ID: 174
Last updated: 04 Jun, 2018
Revision: 3
Views: 1739
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 04 Jun, 2018 by Meltreger B.

Others in this category