20 long _totalHeightInPixels;
23 long _firstVisibleRow;
HWND WinHandle
Definition Common.h:16
Component()
Constructs a new Component instance.
static int HEIGHT_TEXTAREA
Standard height for text areas.
Definition FluidPanel.h:118
virtual ~FluidPanel()
Destructor.
wstring getClassName()
Returns the class name for the component.
void setMargin(int margin)
Sets the left, top, right, and bottom margins.
void addComponent(Component *component, const wstring &labelText)
Adds a component with an associated label text to the panel.
void onMouseMoved(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is moved within the component.
static int HEIGHT_TEXTFIELD
Standard height for text fields.
Definition FluidPanel.h:116
void onPaint(Graphics *g)
Handles paint events.
void setMinColumnWidth(long minWidth)
Sets the minimum width for columns.
static int HEIGHT_LISTBOX
Standard height for list boxes.
Definition FluidPanel.h:120
virtual void constructPanel()
After this panel is created, constructPanel will be called on the descendent of this class.
Definition FluidPanel.h:49
void clear()
Clears all child components from the panel.
void onMouseReleased(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse button is released within the component.
void onWindowResized()
Handles window resize events.
void scrollBarActivity(__int64 firstVisibleItem)
void windowCreated()
Called when the native window has been created.
void setFieldHeight(int fieldHeight)
Sets the height of the field row, excluding the label.
void onMousePressed(WinHandle hWnd, int x, int y, int clickCount, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is pressed within the component.
static int HEIGHT_COMBOBOX
Standard height for combo boxes.
Definition FluidPanel.h:117
static int HEIGHT_DATETIME
Standard height for date/time pickers.
Definition FluidPanel.h:119
BOOL onMouseWheel(WinHandle hWnd, int x, int y, int delta)
Called when the mouse wheel is used over the component.
Definition Graphics.h:171
PanelBase()
Constructs a PanelBase instance.