Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » virtual bool OnGridCellInplaceControlDateTimeInputVerify not working Collapse All
Subject Author Date
Dmitry Kostromin Feb 22, 2006 - 2:36 AM

also not work virtual function OnGridCellInplaceControlTextInputVerify
i just override it, but it not calling.What must i to do in this situation.

Technical Support Feb 22, 2006 - 11:39 AM

We cannot confirm this bug. You can setup a break point at the beginning of the CExtGridWnd::OnGridCellInplaceControlTextInputVerify() method in ExtGridWnd.cpp, run the SimpleGrids sample, select the Products tab and edit the cell text there. You will see how the method is invoked. Please check the declaration of your overridden method first:

virtual bool OnGridCellInplaceControlTextInputVerify(
const CExtGridCell & _cell,
HWND hWndInplaceControl,
LONG nVisibleColNo,
LONG nVisibleRowNo,
LONG nColNo,
LONG nRowNo,
INT nColType,
INT nRowType,
__EXT_MFC_SAFE_LPCTSTR sTextInitial,
__EXT_MFC_SAFE_LPCTSTR sTextPrevious,
CExtSafeString & sTextNew,
bool bEndEdit
);
Please also let us know which kind of cell are you trying to edit in your application when the CExtGridWnd::OnGridCellInplaceControlTextInputVerify() method not invoked.