VCF::Win32ListBox Class Reference
#include <Win32ListBox.h>
Inheritance diagram for VCF::Win32ListBox:

Public Member Functions | |
| Win32ListBox (ListBoxControl *listboxControl) | |
| virtual | ~Win32ListBox () |
| virtual OSHandleID | getHandleID () |
| returns a ID that identifies this control. | |
| virtual VCF::String | getText () |
| returns a text associated with the component. | |
| virtual void | setText (const VCF::String &text) |
| sets the text for the widget | |
| virtual void | setBounds (VCF::Rect *rect) |
| sets the bounds for the component. | |
| virtual VCF::Rect * | getBounds () |
| returns the bounds of the component in the coordinate system of the parent. | |
| virtual void | setVisible (const bool &visible) |
| shows or hides the component. | |
| virtual bool | getVisible () |
| returns wether or not the component is currently visible. | |
| virtual uint32 | getStyleMask () |
| returns a bit-masked uint32 that contains style constants. | |
| virtual void | setStyleMask (const uint32 &styleMask) |
| sets the current style mask. | |
| virtual VCF::Control * | getControl () |
| returns the component that this Peer is attached to. | |
| virtual void | setControl (VCF::Control *component) |
| attahces the Peer to a particular component. | |
| virtual void | setParent (VCF::Control *parent) |
| virtual VCF::Control * | getParent () |
| virtual bool | isFocused () |
| virtual void | setFocus (const bool &focused) |
| virtual bool | isEnabled () |
| virtual void | setEnabled (const bool &enabled) |
| virtual void | createParams () |
| called before the create window is called. | |
| virtual LRESULT | handleEventMessages (UINT message, WPARAM wParam, LPARAM lParam, WNDPROC defaultWndProc=NULL) |
| virtual void | setFocusedItem (ListItem *item) |
| on Win32 see LB_SETCARETINDEX | |
| virtual void | clear () |
| on Win32 see LB_RESETCONTENT | |
| virtual void | rangeSelect (const bool &isSelected, ListItem *first, ListItem *last) |
| on Win32 see LB_SELITEMRANGEEX | |
| virtual void | selectItem (ListItem *item) |
| on Win32 see LB_SETCURSEL | |
| virtual Rect * | getItemRect () |
| on Win32 see LB_GETITEMRECT | |
| virtual void | addItem (ListItem *item) |
| on Win32 see LB_ADDSTRING | |
| virtual void | insertItem (const uint32 &index, ListItem *item) |
| virtual void | removeItem (ListItem *item) |
| virtual bool | isItemSelected (ListItem *item) |
| on Win32 see LB_GETCURSEL | |
| virtual ListItem * | isPtOverItem (Point *point) |
| returns NULL if the point passed in is not over a list item | |
| virtual ListItem * | getFocusedItem () |
| returns a the item that has the focus in a multiple selection range. | |
| virtual void | setItemHeight (const uint32 &itemHeight) |
| on Win32 see LB_SETITEMHEIGHT | |
| virtual ListItem * | getSelectedItem () |
| on Win32 see LB_GETCURSEL | |
| virtual uint32 | getItemHeight () |
| on Win32 see LB_GETITEMHEIGHT | |
| virtual void | setFont (Font *font) |
| virtual void | repaint (Rect *repaintRect=NULL) |
| virtual void | keepMouseEvents () |
| this keeps the mouse events being sent to this control, even is the mouse leaves the physical bounds of the control | |
| virtual void | releaseMouseEvents () |
| releases mouse events - goes back to normal event handling | |
| virtual void | setCursor (Cursor *cursor) |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
on Win32 see LB_ADDSTRING
|
|
|
on Win32 see LB_RESETCONTENT
|
|
|
called before the create window is called. Overide this to change the style and style ex parameters. Returns a pair, the pair.first is the style parameter, the pair.second is the style ex paramater. Reimplemented from VCF::Win32Object. |
|
|
returns the bounds of the component in the coordinate system of the parent.
Reimplemented from VCF::AbstractWin32Component. |
|
|
returns the component that this Peer is attached to.
Reimplemented from VCF::AbstractWin32Component. |
|
|
returns a the item that has the focus in a multiple selection range. On Win32 see LB_GETCARETINDEX |
|
|
returns a ID that identifies this control. On Win32 this corresponds to an HWND. Reimplemented from VCF::AbstractWin32Component. |
|
|
on Win32 see LB_GETITEMHEIGHT
|
|
|
on Win32 see LB_GETITEMRECT
|
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
on Win32 see LB_GETCURSEL
|
|
|
returns a bit-masked uint32 that contains style constants. These style constants are defined in the VCF, and must be translated to the particular windowing system being used. |
|
|
returns a text associated with the component. This usually gets used in the Component::getCaption() method. Reimplemented from VCF::AbstractWin32Component. |
|
|
returns wether or not the component is currently visible.
Reimplemented from VCF::AbstractWin32Component. |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
on Win32 see LB_GETCURSEL
|
|
|
returns NULL if the point passed in is not over a list item
|
|
|
this keeps the mouse events being sent to this control, even is the mouse leaves the physical bounds of the control
Reimplemented from VCF::AbstractWin32Component. |
|
||||||||||||||||
|
on Win32 see LB_SELITEMRANGEEX
|
|
|
releases mouse events - goes back to normal event handling
Reimplemented from VCF::AbstractWin32Component. |
|
|
|
|
|
|
|
|
on Win32 see LB_SETCURSEL
|
|
|
sets the bounds for the component. Bounds are specified in the coordinate system of the componenents parent. Reimplemented from VCF::AbstractWin32Component. |
|
|
attahces the Peer to a particular component. This should only be done once. Reimplemented from VCF::AbstractWin32Component. |
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
|
|
|
on Win32 see LB_SETCARETINDEX
|
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
on Win32 see LB_SETITEMHEIGHT
|
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
sets the current style mask. Should cause a repaint of the component, if neccessary. |
|
|
sets the text for the widget
Reimplemented from VCF::AbstractWin32Component. |
|
|
shows or hides the component. This does NOT close the component (if invoked on a frame based component ). Reimplemented from VCF::AbstractWin32Component. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/Win32ListBox.h
