OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TLvFindInfo Class Reference

Encapsulates structure LVFINDINFO, used to find an item in a TListViewCtrl. More...

#include <owl/listviewctrl.h>

Inheritance diagram for owl::TLvFindInfo:

Public Member Functions

Constructors
 TLvFindInfo ()
 Constructs with an empty string and parameter.
 
 TLvFindInfo (const LVFINDINFO &info)
 Constructs a copy of another class instance.
 
Manipulators
auto SetString (const tstring &text) -> void
 Sets a string to be used for the search.
 
auto SetSubstring (const tstring &text) -> void
 Sets a string to be used for an exact search.
 
auto SetPartial (const tstring &text) -> void
 Sets a string to be used for a partial search.
 
auto SetWrap (bool wrap=true) -> void
 Sets the setting for wrap-around during a search.
 
auto SetData (LPARAM param) -> void
 Sets extra application-specific information.
 

Protected Attributes

tstring Text
 String used for searching.
 

Detailed Description

Encapsulates structure LVFINDINFO, used to find an item in a TListViewCtrl.

See also
http://msdn.microsoft.com/en-us/library/windows/desktop/bb774745.aspx

Definition at line 39 of file listviewctrl.h.

Constructor & Destructor Documentation

◆ TLvFindInfo() [1/2]

owl::TLvFindInfo::TLvFindInfo ( )

Constructs with an empty string and parameter.

Definition at line 33 of file listviewctrl.cpp.

References Text.

◆ TLvFindInfo() [2/2]

owl::TLvFindInfo::TLvFindInfo ( const LVFINDINFO & findInfo)

Constructs a copy of another class instance.

Parameters
[in]findInfois the class instance to copy.

Definition at line 47 of file listviewctrl.cpp.

References Text.

Member Function Documentation

◆ SetData()

auto owl::TLvFindInfo::SetData ( LPARAM param) -> void

Sets extra application-specific information.

Parameters
[in]paramis the extra information to set.
Returns
none.

Definition at line 124 of file listviewctrl.cpp.

◆ SetPartial()

auto owl::TLvFindInfo::SetPartial ( const tstring & text) -> void

Sets a string to be used for a partial search.

Parameters
[in]textis the string to use.
Returns
none.

Definition at line 94 of file listviewctrl.cpp.

◆ SetString()

auto owl::TLvFindInfo::SetString ( const tstring & text) -> void

Sets a string to be used for the search.

Parameters
[in]textis the string to use.
Returns
none.

Definition at line 65 of file listviewctrl.cpp.

◆ SetSubstring()

auto owl::TLvFindInfo::SetSubstring ( const tstring & text) -> void

Sets a string to be used for an exact search.

Parameters
[in]textis the string to use.
Returns
none.

Definition at line 80 of file listviewctrl.cpp.

◆ SetWrap()

auto owl::TLvFindInfo::SetWrap ( bool wrap = true) -> void

Sets the setting for wrap-around during a search.

Parameters
[in]wrapspecifies whether the search continues at the beginning when the end has been reached.
Returns
none.

Definition at line 108 of file listviewctrl.cpp.

Member Data Documentation

◆ Text

tstring owl::TLvFindInfo::Text
protected

String used for searching.

Definition at line 67 of file listviewctrl.h.


The documentation for this class was generated from the following files: