GeListView Class Reference

#include <c4d_listview.h>

Inheritance diagram for GeListView:

详细描述

SimpleListView base class. Mostly internal.

公共成员函数

  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
GeDialog cd

构造函数 & 析构函数文档编制

◆  GeListView()

GeListView ( )

Constructor.

◆  ~GeListView()

virtual ~ GeListView ( )
virtual

Destructor.

成员函数文档编制

◆  LvCallBack()

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

Internal .

Reimplemented in SimpleListView .

◆  LvCallBackLong()

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

Internal .

◆  LvSuperCall()

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

Internal .

◆  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.

参数
[in] msg The message to send.
返回
true if the message could be sent, otherwise false .

◆  GetId()

Int32 GetId ( void  )

Gets the ID of the list view.

返回
The ID of the list view.

◆  ExtractMouseInfo()

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

Internal .

◆  ExtractDrawInfo()

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

Internal .

◆  AttachListView()

Bool AttachListView ( GeDialog cd ,
Int32   id  
)

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

参数
[in] cd The dialog to attach to. The caller owns the pointed dialog.
[in] id The ID of the LISTVIEW control in the dialog.
返回
true if the listview was attached, otherwise false .

◆  ShowCell()

void ShowCell ( Int32   line ,
Int32   col  
)

Scrolls to the cell specified by line and col .

参数
[in] line The line of the cell.
[in] col The column of the cell.

Member Data Documentation

◆  lv

_GeListView* lv protected

◆  cd

GeDialog * cd
protected