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 » Bug: Row height changes when user resizes column in CExtGridWnd, in some cases it crashes Collapse All
Subject Author Date
Sergey Afanasyev Dec 12, 2017 - 8:56 AM

Its likely to be a bug in
Product PROF-UIS V.3.4.0.3

Problem: When resizing width of header column in CExtGridWnd height of row with the same number is changing simultanously
if there are any outer columns. In some cases it drives to crash.

Source code to review: ExtGridWnd.cpp, method CExtGridWnd::OnGbwResizingStateApply,
At lines 54681-54685 there are some strange code likely to be wrong (it always modifies extent (height) of left cell in the row with the same number as tracking item):
    CExtGridDataProvider & _CDP = OnGridQueryDataProvider();
    if ( CExtGridCell * pCachedCell = _CDP.CellGet(0L, nItemNo) )
        pCachedCell->ExtentSet(nItemExtent, 0);

TSELLC Support Dec 27, 2017 - 4:17 AM

This was answered in a separate email.

TSELLC_Support