17 long _totalHeightInPixels;
21 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:125
BOOL getScrollingInfo(__int64 &scrollMin, __int64 &scrollMax, __int64 &pageSize)
Retrieves scrolling information.
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.
static int HEIGHT_TEXTFIELD
Standard height for text fields.
Definition FluidPanel.h:123
void setScrollbarTopOffset(__int64 firstVisibleRow)
Sets the scroll position by specifying the first visible row.
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:127
void clear()
Clears all child components from the panel.
void onWindowResized()
Handles window resize events.
void windowCreated()
Called when the native window has been created.
void setFieldHeight(int fieldHeight)
Sets the height of the field row, excluding the label.
static int HEIGHT_COMBOBOX
Standard height for combo boxes.
Definition FluidPanel.h:124
static int HEIGHT_DATETIME
Standard height for date/time pickers.
Definition FluidPanel.h:126
BOOL onMouseWheel(WinHandle hWnd, int x, int y, int delta)
Handles mouse wheel events for scrolling.
Definition Graphics.h:161
PanelBase()
Constructs a PanelBase instance.