The IContainerControl::FilterFn class provides a filter function for container. The container uses a FilterFn object to show a subset of the existing container objects.
When the container calls IContainerControl::filter, an IContainerControl::FilterFn object is passed as input to this function. Thereafter, the container calls IContainerControl::FilterFn_isMemberOf as needed to filter each container object.
The native Windows containers (that is, containers constructed without the pmCompatible style) do not support filtering of objects.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~FilterFn()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
FilterFn()
Provides the default constructor.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these members to filter objects from the container.
![]() |
public:
virtual bool isMemberOf( IContainerObject* object, IContainerControl* container ) const = 0
If the specified object is to remain in the container, true is returned. If the object is to be removed, false is returned.
Windows | OS/2 | AIX |
Yes | Yes | Yes |