GeListView Class Reference

#include <c4d_listview.h>

Inheritance diagram for GeListView:

Detailed Description

SimpleListView base class. Mostly internal.

Public Member Functions

 GeListView ()
 
virtual ~GeListView ()
 
virtual void LvCallBack (Int32 &res_type, void *&result, void *secret, Int32 cmd, Int32 line, Int32 col, void *data1)
 
Int LvCallBackLong (void *secret, Int32 cmd, Int32 line, Int32 col, void *data1)
 
void LvSuperCall (Int32 &res_type, void *&result, void *secret, Int32 cmd, Int32 line, Int32 col)
 
void Redraw (void)
 
void DataChanged (void)
 
Bool SendParentMessage (const BaseContainer &msg)
 
Int32 GetId (void)
 
Bool ExtractMouseInfo (void *secret, MouseDownInfo &info, Int32 size)
 
Bool ExtractDrawInfo (void *secret, DrawInfo &info, Int32 size)
 
Bool AttachListView (GeDialog *cd, Int32 id)
 
void ShowCell (Int32 line, Int32 col)
 

Protected Attributes

_GeListView * lv
 
GeDialogcd
 

Constructor & Destructor Documentation

◆ GeListView()

Constructor.

◆ ~GeListView()

virtual ~GeListView ( )
virtual

Destructor.

Member Function Documentation

◆ LvCallBack()

virtual void LvCallBack ( Int32 res_type,
void *&  result,
void *  secret,
Int32  cmd,
Int32  line,
Int32  col,
void *  data1 
)
virtual

@markInternal

Reimplemented in SimpleListView.

◆ LvCallBackLong()

Int LvCallBackLong ( void *  secret,
Int32  cmd,
Int32  line,
Int32  col,
void *  data1 
)

@markInternal

◆ LvSuperCall()

void LvSuperCall ( Int32 res_type,
void *&  result,
void *  secret,
Int32  cmd,
Int32  line,
Int32  col 
)

@markInternal

◆ Redraw()

void Redraw ( void  )

Redraws the listview.

◆ DataChanged()

void DataChanged ( void  )

Forces a recalculation. Called when the list view data has been changed.

◆ SendParentMessage()

Bool SendParentMessage ( const BaseContainer msg)

Sends a message to the dialog.

Parameters
[in]msgThe message to send.
Returns
true if the message could be sent, otherwise false.

◆ GetId()

Int32 GetId ( void  )

Gets the ID of the list view.

Returns
The ID of the list view.

◆ ExtractMouseInfo()

Bool ExtractMouseInfo ( void *  secret,
MouseDownInfo info,
Int32  size 
)

@markInternal

◆ ExtractDrawInfo()

Bool ExtractDrawInfo ( void *  secret,
DrawInfo info,
Int32  size 
)

@markInternal

◆ AttachListView()

Bool AttachListView ( GeDialog cd,
Int32  id 
)

Attaches the list view to a LISTVIEW control in a dialog.

Parameters
[in]cdThe dialog to attach to. The caller owns the pointed dialog.
[in]idThe ID of the LISTVIEW control in the dialog.
Returns
true if the listview was attached, otherwise false.

◆ ShowCell()

void ShowCell ( Int32  line,
Int32  col 
)

Scrolls to the cell specified by line and col.

Parameters
[in]lineThe line of the cell.
[in]colThe column of the cell.

Member Data Documentation

◆ lv

_GeListView* lv
protected

◆ cd

GeDialog* cd
protected