Professional UI Solutions
Site Map   /  Register


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 General Discussion » Change filter icon in column header of the grid Collapse All
Subject Author Date
Isabelle Carrier Sep 8, 2009 - 8:18 AM

The filtering icon in the column header of the grid seems to be hard set in the code somewhere. Or at least we didn’t find the image resource file in the skin. How can we change it?  Thank you

Technical Support Sep 8, 2009 - 1:20 PM

The filter icon is like icons on toolbar buttons and menu items. The filter icon is the non-skin element. But it can be changed. Here is the explanation to show to your developers:

Please override the CExtGridCellHeaderFilter::OnPaintButton() virtual method. The nButtonType parameter can be INT(CExtGridCell::__EBTT_FILTER_APPLIED) or INT(CExtGridCell::__EBTT_FILTER_UNAPPLIED) value in case of method is invoked to paint filter button. You should not invoke the parent class method and paint your icon instead.