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 » Painting problem in grid Collapse All
Subject Author Date
Suhai Gyorgy Sep 19, 2007 - 4:22 AM

Dear Support,

I’ve experienced some painting problem in our grid, and I could successfully reproduce it in your ProfUIS_Controls sample. Please, open your PageGrid.cpp. In OnInitDialog, comment the line m_wndGrid.GridLinesHorzSet( true, bRedraw ); ( I don’t want to show any gridlines, but to reproduce the problem, removing horizontal gridlines is enough ) and in SiwModifyStyle call, change __EGBS_SFB_CELLS style to __EGBS_SFB_FULL_ROWS style ( I need to achieve fullrow selection ).

With these 2 changes the focus rect around the focused row is somehow thicker than before. This wouldn’t be a problem, but if the user opens any popup control from the grid ( e.g. color selection control or listbox of a combobox cell), the focus rect gets partially hidden by this control and when the popup control gets closed, the part of the focus rect (which was painted over by the popup control) is not repainted.

Unfortunately I can’t provide a picture now, I hope you understand, or at least can reproduce the problem.

Thank you,
Chris

Technical Support Sep 19, 2007 - 12:23 PM

Thank you for reporting the problem. We will fix it as soon as possible.