BCGSuite for MFC
virtual CWnd* CBCGPGridCtrl::OnCreateFilterBarCtrl ( int  nColumn,
LPCTSTR  lpszPrompt 
)
protectedvirtual

Called by the grid control to create a filter edit.

Returns
Must be a valid pointer to a CWnd - derived class.

This method is called by the grid control when it needs to create a filter edit box for the specified by nColumn column. Override this method in a derived class and return a pointer to a CWnd - derived object to customize the edit box.Note, that your derived class must call the OnFilterBarChanged() method in order to notify the grid control about new filter data.

Parameters
nColumnSpecifies a zero-based index of a column for which a filter box should be created.
lpszPromptSpecifies a text string to display as a prompt in the filter edit box when it's empty.