Help Center

Help Center

Searchable reference for 11,672 functions, methods and properties. Press / to search.

PlanetSquires Controls

Owner-drawn custom controls for FreeBASIC / AfxNova

PsBufferPaint
A flicker-free drawing surface for FreeBASIC Win32 applications: you paint into an offscreen bitmap and it is copied to the screen in one blit, so nothing the user sees is ever half-drawn.
PsButton
An owner-drawn command button for FreeBASIC Win32 applications: a rounded rectangle with an optional glyph on the left, an optional caption, and an optional glyph on the right.
PsCheckBox
An owner-drawn checkbox for FreeBASIC + Win32, built on AfxNova and PsBufferPaint. It draws a box glyph from a font — Segoe Fluent Icons by default — and an optional caption, with a focus ring around the pair. The box can sit on either side of the caption. You supply the colours and the fonts; the control owns the geometry and the state.
PsComboBox
An owner-drawn dropdown selector for FreeBASIC Win32 applications: a button showing the current choice with a stacked up/down chevron on its right, which drops a list of the alternatives where exactly one — the current one — is checkmarked.
PsHScrollBar
An owner-drawn horizontal scrollbar for FreeBASIC Win32 applications: a flat track with a flat thumb that brightens under the mouse and while it is being dragged.
PsIconPanel
An owner-drawn horizontal icon strip for FreeBASIC Win32 applications: a run of glyph cells — latching toggles, momentary command buttons, and drawn separator rules — laid out left to right in the order you supply them.
PsListBox
An owner-drawn list box for FreeBASIC Win32 applications: a scrolling list of fixed-height rows that you paint yourself, with collapsible group headers, single / multiple / extended selection, per-row tooltips, and an optional multi-column report mode driven by a resizable header band.
PsMenuBar
An owner-drawn menu bar for FreeBASIC Win32 applications: a horizontal strip of text items — File, Edit, View, Help — each owning a dropdown menu. Click an item and its dropdown opens underneath it; while one is open, moving the cursor onto another item switches to that item's dropdown without a second click; clicking the bar again closes it.
PsMessageBox
An owner-drawn modal message box for FreeBASIC Win32 applications: an owner-drawn caption band with a title and a close X, a body holding an optional icon and a wrapped left-justified message, and a footer holding one to three buttons.
PsNumericUpDown
An owner-drawn numeric up/down control — a spinner — for FreeBASIC Win32 applications: a rounded frame holding a − button, an editable numeric field and a + button, separated by hairline dividers.
PsScrollPanel
A scrolling panel for FreeBASIC Win32 applications: a viewport onto a page of ordinary child controls that is taller than the space available for it, with a vertical scrollbar in a reserved strip down the right edge.
PsSelectBar
An owner-drawn select bar for FreeBASIC Win32 applications: a flat row of text labels where exactly one is current, marked by a coloured line drawn under the word.
PsSplitter
An owner-drawn splitter bar for FreeBASIC Win32 applications: a draggable divider that sits between two panes, shows a resize cursor when the mouse is over it, and tells you where the user dragged it to.
PsStatusBar
An owner-drawn status bar for FreeBASIC Win32 applications: a horizontal strip of panels along the bottom of a window, each holding a short piece of text, one of them able to stretch so the rest sit flush against the right edge.
PsTabBar
An owner-drawn tab bar for FreeBASIC Win32 applications: a horizontal strip of tabs, one of them active, each with room for an icon on the left and a close "X" on the right. Tabs can be clicked to select, closed, and dragged to reorder.
PsTextBox
A textbox control for FreeBASIC Win32 applications: a themeable frame of your own colours — border, rounded corners, outer fill — wrapped around a real RichEdit50W editor that does the typing, the selection, the clipboard and the undo.
PsToggle
An owner-drawn toggle switch for FreeBASIC Win32 applications: a rounded pill whose fill changes with state, and a circular knob that sits at the left end when the switch is OFF and the right end when it is ON.
PsVScrollBar
An owner-drawn vertical scrollbar for FreeBASIC Win32 applications: a flat track with a flat thumb that brightens under the mouse and while it is being dragged.

AfxNova

Windows framework for FreeBASIC

5,455 documented · 4,517 undocumented · 137 topics.

FreeBASIC

Language and runtime reference (manual 1.20.0)

634 documented · 0 undocumented · 434 topics.