HPGCC3 Documentation 3.0 R003

gListBox Class Reference

#include <gui.h>

Inheritance diagram for gListBox:
gControl

Public Member Functions

void SetItemList (gListItem *List, int NumItems)
void InsertItem (int Index, char *Text, int TreeLevel, int StateFlags, int Data)
void RemoveItem (int Index)
void AddItem (char *Text, int TreeLevel, int StateFlags, int Data)
gListItemGetItem (int Index)
void SetSelection (int Index)
int NextItem (int Index)
int NextVisibleItem (int Index)
int PrevVisibleItem (int Index)
int PrevItem (int Index)
int ChildItem (int Index)
int ParentItem (int Index)
char * FullPath (int BaseIndex, int Index, const char *Separator)
void Select (int Index)
void Unselect (int Index)
void Hide (int Index)
void Unhide (int Index)
void Expand (int Index)
void Collapse (int Index)
void ExpandAll (int Index)
void CollapseAll (int Index)
BOOL HasChildren (int Index)
BOOL IsExpanded (int Index)
void SetCheck (int Index, BOOL value)
BOOL IsChecked (int Index)
BOOL ReallocList (int _NumItems)
void ListChanged ()
void RedrawAll ()
void RedrawSingleItem (int Index)
BOOL MoveSelectionUp (int nlines)
BOOL MoveSelectionDown (int nlines)
void EnsureVisible (int Index)
virtual int CalcItemWidth (int Index)
virtual BOOL DrawItem (int Index, int y)
virtual BOOL AcceptFocus ()
virtual void Update (gUpdate *u)
void RedrawFrame ()
void DrawVScrollBar ()
void DrawHScrollBar ()
void InvalidateVScrollBar ()
virtual BOOL DefaultEvent (gEvent *e)
 gListBox (gControl &Parent, int x, int y, int w, int h, int Style, gFont *Font)
 ~gListBox ()

Data Fields

gListItemItems
int NumItems
int MaxItems
int DispItems
int ViewItem
int SelectedItem
int ItemHeight
int MaxWidth
int Color
int BkColor
int SelColor
int StyleFlags
gFont Font

Private Member Functions

virtual void vTable ()

Detailed Description

Definition at line 905 of file gui.h.


Constructor & Destructor Documentation

gListBox::gListBox ( gControl Parent,
int  x,
int  y,
int  w,
int  h,
int  Style,
gFont Font 
)
gListBox::~gListBox ( )

Member Function Documentation

virtual BOOL gListBox::AcceptFocus ( ) [inline, virtual]

Reimplemented from gControl.

Definition at line 958 of file gui.h.

References TRUE.

void gListBox::AddItem ( char *  Text,
int  TreeLevel,
int  StateFlags,
int  Data 
)
virtual int gListBox::CalcItemWidth ( int  Index) [virtual]
int gListBox::ChildItem ( int  Index)
void gListBox::Collapse ( int  Index)
void gListBox::CollapseAll ( int  Index)
virtual BOOL gListBox::DefaultEvent ( gEvent e) [virtual]

Reimplemented from gControl.

void gListBox::DrawHScrollBar ( ) [virtual]

Reimplemented from gControl.

virtual BOOL gListBox::DrawItem ( int  Index,
int  y 
) [virtual]
void gListBox::DrawVScrollBar ( ) [virtual]

Reimplemented from gControl.

void gListBox::EnsureVisible ( int  Index)
void gListBox::Expand ( int  Index)
void gListBox::ExpandAll ( int  Index)
char* gListBox::FullPath ( int  BaseIndex,
int  Index,
const char *  Separator 
)
gListItem* gListBox::GetItem ( int  Index)
BOOL gListBox::HasChildren ( int  Index)
void gListBox::Hide ( int  Index)
void gListBox::InsertItem ( int  Index,
char *  Text,
int  TreeLevel,
int  StateFlags,
int  Data 
)
void gListBox::InvalidateVScrollBar ( )
BOOL gListBox::IsChecked ( int  Index)
BOOL gListBox::IsExpanded ( int  Index)
void gListBox::ListChanged ( )
BOOL gListBox::MoveSelectionDown ( int  nlines)
BOOL gListBox::MoveSelectionUp ( int  nlines)
int gListBox::NextItem ( int  Index)
int gListBox::NextVisibleItem ( int  Index)
int gListBox::ParentItem ( int  Index)
int gListBox::PrevItem ( int  Index)
int gListBox::PrevVisibleItem ( int  Index)
BOOL gListBox::ReallocList ( int  _NumItems)
void gListBox::RedrawAll ( )
void gListBox::RedrawFrame ( )
void gListBox::RedrawSingleItem ( int  Index)
void gListBox::RemoveItem ( int  Index)
void gListBox::Select ( int  Index)
void gListBox::SetCheck ( int  Index,
BOOL  value 
)
void gListBox::SetItemList ( gListItem List,
int  NumItems 
)
void gListBox::SetSelection ( int  Index)
void gListBox::Unhide ( int  Index)
void gListBox::Unselect ( int  Index)
virtual void gListBox::Update ( gUpdate u) [virtual]

Reimplemented from gControl.

virtual void gListBox::vTable ( ) [private, virtual]

Reimplemented from gControl.


Field Documentation

Definition at line 913 of file gui.h.

Definition at line 913 of file gui.h.

Definition at line 910 of file gui.h.

Definition at line 915 of file gui.h.

Definition at line 912 of file gui.h.

Definition at line 909 of file gui.h.

Definition at line 910 of file gui.h.

Definition at line 912 of file gui.h.

Definition at line 910 of file gui.h.

Definition at line 913 of file gui.h.

Definition at line 911 of file gui.h.

Definition at line 914 of file gui.h.

Definition at line 911 of file gui.h.


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