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

Public Member Functions | |
| Win32DropDownPeer (Control *control) | |
| virtual | ~Win32DropDownPeer () |
| virtual void | create (Control *owningControl) |
| This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform. | |
| virtual Win32Object::CreateParams | createParams () |
| called before the create window is called. | |
| virtual bool | handleEventMessages (UINT message, WPARAM wParam, LPARAM lParam, LRESULT &wndProcResult, WNDPROC defaultWndProc=NULL) |
| returns true if no further handling is required, otherwise returns false, which means the rest of the handling needs to be done by the default wnd proc. | |
| virtual VCF::Rect | getBounds () |
| returns the bounds of the component in the coordinate system of the parent. | |
| virtual void | setBounds (VCF::Rect *rect) |
| sets the bounds for the component. | |
| virtual void | enableEditBox (bool val) |
| virtual bool | editBoxEnabled () |
| virtual void | setEditText (const String &text) |
| virtual String | getEditText () |
| virtual void | setDropDownWidth (double val) |
| virtual double | getDropDownWidth () |
| virtual void | setDropDownCount (const uint32 &dropDownCount) |
| virtual uint32 | getDropDownCount () |
| virtual void | selectItem (const uint32 &index) |
| virtual uint32 | getSelectedItem () |
| virtual void | setFocusedItem (const uint32 &index) |
| virtual uint32 | getFocusedItem () |
| virtual bool | isItemSelected (const uint32 &index) |
| virtual Rect | getItemRect (const uint32 &index) |
| virtual Rect | getItemImageRect (const uint32 &index) |
| virtual uint32 | hitTest (const Point &point) |
| virtual Enumerator< uint32 > * | getSelectedItems () |
| virtual void | rangeSelect (const Rect &selectionRect) |
| virtual bool | allowsMultiSelect () |
| virtual void | setAllowsMultiSelect (const bool &allowsMultiSelect) |
| virtual void | setLargeImageList (ImageList *imageList) |
| virtual void | setSmallImageList (ImageList *imageList) |
| virtual void | setFont (Font *font) |
| virtual bool | acceptsWMCommandMessages () |
Protected Member Functions | |
| void | onCtrlModelChanged (Event *e) |
| void | onListModelChanged (Event *e) |
| void | attachToHwnd (HWND wnd, Control *owner=NULL) |
| void | detachFromHwnd (HWND wnd) |
| void | updateDimensions () |
Static Protected Member Functions | |
| static LRESULT CALLBACK | LB_WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
| HWND | listBoxHwnd_ |
| WNDPROC | oldLBWndProc_ |
| bool | editEnabled_ |
| uint32 | dropDownCount_ |
| double | dropDownWidth_ |
| Array< uint32 > | selectedItems_ |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Reimplemented from VCF::Win32Object. |
|
|
Implements VCF::ListPeer. |
|
||||||||||||
|
|
|
|
This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform. create() must be called by the containing VCF::Control subclass, typically in the classes constructor, after retreiving the new peer instance from the appropriate UIToolkit::createXXX() call. Reimplemented from VCF::AbstractWin32Component. |
|
|
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. |
|
|
|
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::DropDownPeer. |
|
|
returns the bounds of the component in the coordinate system of the parent.
Reimplemented from VCF::AbstractWin32Component. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
||||||||||||||||||||||||
|
returns true if no further handling is required, otherwise returns false, which means the rest of the handling needs to be done by the default wnd proc.
Reimplemented from VCF::AbstractWin32Component. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
sets the bounds for the component. Bounds are specified in the coordinate system of the componenents parent. Reimplemented from VCF::AbstractWin32Component. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::DropDownPeer. |
|
|
Implements VCF::ListPeer. |
|
|
Reimplemented from VCF::AbstractWin32Component. |
|
|
Implements VCF::ListPeer. |
|
|
Implements VCF::ListPeer. |
|
|
|
Member Data Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/Win32DropDownPeer.h
