//================================================================================
// RichListCtrlHandle.
//================================================================================

class RichListCtrlHandle extends WindowHandle
	Native;

native final function InsertRecord (RichListCtrlRowData Record);

native final function DeleteAllItem ();

native final function DeleteRecord (int Index);

native final function int GetRecordCount ();

native final function int GetSelectedIndex ();

native final function SetSelectedIndex (int Index, bool bMoveToRow);

native final function ShowScrollBar (bool bShow);

native final function bool ModifyRecord (int Index, RichListCtrlRowData Record);

native final function GetSelectedRec (out RichListCtrlRowData Record);

native final function GetRec (int Index, out RichListCtrlRowData Record);

native final function InitListCtrl ();

native final function AdjustColumnWidth (int Col);

// Export URichListCtrlHandle::execGetMaxColumnWidth(FFrame&, void* const)
native final function int GetMaxColumnWidth();

native final function SetHeaderAlignment (int Col, ETextAlign Align);

native final function SetHeaderTextOffset (int Col, int offset);

native final function SetResizable (bool B);

native final function SetColumnWidth (int Index, int Width);

native final function EnablePageBrowser (bool Enable);

native final function SetContentsHeight (int Height);

native final function SetSelectedSelTooltip (bool bFlag);

native final function SetAppearTooltipAtMouseX (bool bFlag);

native final function SetColumnString (int Index, int StrIndex);

native final function SetColumnMinimumWidth (bool bFlag);

native final function SetUseHorizontalScrollBar (bool bFlag);

native final function SetStatusBarTexture (string ForeLeftTex, string ForeCenterTex, string ForeRightTex, string BackLeftTex, string BackCenterTex, string BackRightTex);

native final function SetUseStripeBackTexture (bool bUseStripeBackTexture);

native final function SetSelectable (bool bSelectable);

native final function SetStartRow(int StartRow);

// Export URichListCtrlHandle::execSetEnableItemRecordDrag(FFrame&, void* const)
native final function SetEnableItemRecordDrag(bool bEnableDrag);

// Export URichListCtrlHandle::execGetShowRow(FFrame&, void* const)
native final function int GetShowRow();

// Export URichListCtrlHandle::execSetSortable(FFrame&, void* const)
native final function SetSortable(bool bSortable);

// Export URichListCtrlHandle::execShowSortIcon(FFrame&, void* const)
native final function ShowSortIcon(int HeaderIndex);

// Export URichListCtrlHandle::execHideSortIcon(FFrame&, void* const)
native final function HideSortIcon();

// Export URichListCtrlHandle::execSetAscend(FFrame&, void* const)
native final function SetAscend(int HeaderIndex, bool bAscend);

// Export URichListCtrlHandle::execIsAscending(FFrame&, void* const)
native final function bool IsAscending(int HeaderIndex);

// Export URichListCtrlHandle::execAdjustShowRow(FFrame&, void* const)
native final function AdjustShowRow(int ShowRow);

// Export URichListCtrlHandle::execIncreaseStartRow(FFrame&, void* const)
native final function IncreaseStartRow(int Cnt);

// Export URichListCtrlHandle::execDecreaseStartRow(FFrame&, void* const)
native final function DecreaseStartRow(int Cnt);

// Export URichListCtrlHandle::execGetStartRow(FFrame&, void* const)
native final function int GetStartRow();

// Export URichListCtrlHandle::execSetEnableInteractionPass(FFrame&, void* const)
native final function SetEnableInteractionPass(bool bEnablePass);

// Export URichListCtrlHandle::execGetPointedRec(FFrame&, void* const)
native final function GetPointedRec(out RichListCtrlRowData Record);