HWND WinHandle
Definition Common.h:16
Component()
Constructs a new Component instance.
Definition Graphics.h:161
Definition EventListeners.h:31
void showTooltip(BOOL bShow=TRUE)
void onMousePressed(WinHandle hWnd, int x, int y, int clickCount, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is pressed within the component.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Abstract method to get window creation options.
void addSelectionChangedListener(SelectionChangeListener *l)
void onWindowResized()
Called when the component's window is resized.
void onSelectionChanged(WinHandle hWndCB, int newValue, const wstring &itemText, BOOL itemChecked, const ProcParams &procParams)
Called when the selection changes.
void windowCreated()
Abstract method called after the window has been created.
void onPaint(Graphics *g)
Called to paint the component's client area.
int getPreferredHeight()
Returns the preferred height of the component.
void onMouseMoved(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is moved within the component.
void setRange(long rangeMin, long rangeMax)
void onMouseReleased(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse button is released within the component.
void setValue(long value)