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

Encapsulates structure LVHITTESTINFO, used to contain information about a hit test in a TListViewCtrl. More...

#include <owl/listviewctrl.h>

Inheritance diagram for owl::TLvHitTestInfo:

Public Member Functions

Constructors
 TLvHitTestInfo ()
 Constructs with a zero point for the hit test.
 
 TLvHitTestInfo (const TPoint &p)
 Constructs with a specified point for the hit test.
 
 TLvHitTestInfo (const LVHITTESTINFO &info)
 Constructs a copy of another class instance.
 
Accessors
auto GetIndex () -> int
 Retrieves the hit item's index.
 
auto GetSubItem () -> int
 Retrieves the subitem index for the hit item.
 
auto GetGroup () -> int
 Retrieves the group index for the hit item.
 
auto GetFlags () -> uint
 Retrieves the flags for the hit item.
 
Manipulators
auto SetPoint (const TPoint &p) -> void
 Sets a point for the hit test.
 

Protected Member Functions

void Init ()
 

Detailed Description

Encapsulates structure LVHITTESTINFO, used to contain information about a hit test in a TListViewCtrl.

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

Definition at line 76 of file listviewctrl.h.

Constructor & Destructor Documentation

◆ TLvHitTestInfo() [1/3]

owl::TLvHitTestInfo::TLvHitTestInfo ( )
inline

Constructs with a zero point for the hit test.

Definition at line 88 of file listviewctrl.h.

◆ TLvHitTestInfo() [2/3]

owl::TLvHitTestInfo::TLvHitTestInfo ( const TPoint & p)
inlineexplicit

Constructs with a specified point for the hit test.

Parameters
[in]pis the point to use.

Definition at line 96 of file listviewctrl.h.

◆ TLvHitTestInfo() [3/3]

owl::TLvHitTestInfo::TLvHitTestInfo ( const LVHITTESTINFO & info)
inlineexplicit

Constructs a copy of another class instance.

Parameters
[in]infois the class instance to copy.

Definition at line 104 of file listviewctrl.h.

Member Function Documentation

◆ GetFlags()

auto owl::TLvHitTestInfo::GetFlags ( ) -> uint
inline

Retrieves the flags for the hit item.

Returns
the flags.

Definition at line 140 of file listviewctrl.h.

◆ GetGroup()

auto owl::TLvHitTestInfo::GetGroup ( ) -> int
inline

Retrieves the group index for the hit item.

Returns
the group index.

Definition at line 132 of file listviewctrl.h.

◆ GetIndex()

auto owl::TLvHitTestInfo::GetIndex ( ) -> int
inline

Retrieves the hit item's index.

Returns
the item index.

Definition at line 116 of file listviewctrl.h.

◆ GetSubItem()

auto owl::TLvHitTestInfo::GetSubItem ( ) -> int
inline

Retrieves the subitem index for the hit item.

Returns
the subitem index.

Definition at line 124 of file listviewctrl.h.

◆ Init()

void owl::TLvHitTestInfo::Init ( )
inlineprotected

Definition at line 161 of file listviewctrl.h.

◆ SetPoint()

auto owl::TLvHitTestInfo::SetPoint ( const TPoint & p) -> void
inline

Sets a point for the hit test.

Parameters
[in]pis the point to use.
Returns
none.

Definition at line 154 of file listviewctrl.h.


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