Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

pda_listctrl Class Reference

#include <pda_listctrl.h>

Inheritance diagram for pda_listctrl:

wxListCtrl List of all members.

Public Methods

  pda_listctrl (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long listCtrlStyle=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name="listctrl", const wxString &column_caption="User", long users_or_directories_listctrl=optionIS_USERS_LISTCTRL)
  Constructor.

  pda_listctrl ()
  ~pda_listctrl ()
  Destuctor.

void  set_column_widths ()
wxString  get_cell_contents_string (long row_number, int column)
  Gets the string contents of a 'cell' [a box of a certain row, in a certain column].

void  find_matching_rows (wxArrayString &input_arraystring, wxArrayInt *output_matching_rows_arrayint)

Protected Methods

void  OnSize (wxSizeEvent &event)

Detailed Description

Todo:
This needs to go into its own class too.

Constructor & Destructor Documentation

pda_listctrl::pda_listctrl wxWindow *    parent,
wxWindowID    id = -1,
const wxPoint &    pos = wxDefaultPosition,
const wxSize &    size = wxDefaultSize,
long    listCtrlStyle = wxLC_ICON,
const wxValidator &    validator = wxDefaultValidator,
const wxString &    name = "listctrl",
const wxString &    column_caption = "User",
long    users_or_directories_listctrl = optionIS_USERS_LISTCTRL
 

Constructor.

Parameters:
parent  The parent window.
id  The id of the progress_listbox. Will usually be -1 unless multiple of them on the same dialog.
pos  The pixel position of the listctrl on its parent window
size  The pixel size of the listctrl
style  Style of the listbox. See wxWindows wxListBox docs for details.
validator  Window validator. See wxWindows docs for details.
name  Windows name (rarely used).
column_caption  The label of 1st column in listctrl column.
users_or_directories_listctrl  Whether a users or directories listctrl.

Member Function Documentation

wxString pda_listctrl::get_cell_contents_string long    row_number,
int    column
 

Gets the string contents of a 'cell' [a box of a certain row, in a certain column].

Parameters:
row_number  The row number of the cell [0=top row].
column  The column number of the cell [0=left row].
Returns :
The content string of the cell