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 » changes in CExtGridWnd in version 2.85 Collapse All
Subject Author Date
Ulrich Heinicke May 3, 2009 - 11:14 PM

Hi,


i got yesterday the new beta version 2.85. After i compile my project i get an error: the method OnGridCellInplaceControlCreate has now one argument more. Could you please explain me the first variable, which is new.


Thanks


Ulrich


 

Technical Support May 4, 2009 - 11:32 AM

In Prof-UIS 2.84: An in-place cell editor window can be created as a child of a grid window only.
In Prof-UIS 2.85: An in-place cell editor window can be created outside the grid window and a new hWndParentForEditor parameter of the CExtGridWnd::OnGridCellInplaceControlCreate() method specifies the parent window handle of the in-place editor window.

Very unfortunately we had to change the signatures of the following methods for that: CExtGridBaseWnd::OnGbwBeginEdit(), CExtGridWnd::OnGridCellInplaceControlCreate(), CExtGridCell::OnInplaceControlAdjustCreationRect(), CExtGridWnd::OnGridCellInplaceControlAdjustCreationRect() and CExtGridCell::OnInplaceControlCreate().

Where this feature is needed? The new CExtFormulaGridWnd control demonstrated in the new FormulaGrid sample application allows in place cell editing in two ways: classic in place editing and formula bar based editing. The colorized editor windows activated inside the formula grid and inside the formula bar are really the same editors activated as in place cell editors using the CExtGridWnd class methods meant above.