WinBinder Manual/Functions by category

From wiki.swiftlytilting.com

This list shows the core WinBinder functions listed by category. These functions start with the prefix wb_. Some functions may appear in more than one category.

Tip: You may also consult the . For other functions, see the See also section below.

WARNING: The functions marked with a stop sign (Image:Icon stop 16.gif) provide low-level access to the Windows API and should be used with great care.

Contents

Control functions

These functions are related to WinBinder controls.

Creates a control, menu, or accelerator
Creates one or more items in a control or menu
Deletes items from a control or menu
Destroys a control
Retrieves the class of a control, window or menu
Returns the handle to a child control in a dialog box or in a menu item
Tells whether a control is enabled
Returns a handle to the window or control that has the keyboard focus
Returns the integer identifier of a control or window
Returns the number of items in an object
Returns an array with child items or controls
Retrieves the level of a control item
Returns the control or item parent
Retrieves the position of a control or window
Returns the selected state of one or more items
Retrieves the size of a control or window
Retrieves the expanded or collapsed state of a treeview node
Gets the text from a control, window, menu item, an item, or sub-item
Retrieves the value of a control, item, or sub-item
Tells whether an object is visible
Refreshes or redraws an object
Sets a specific area in a window
Enables or disables a control
Assigns the focus to an object
Sets the font of a control
Assigns an image to an object
Assigns a portion of an image to a control item
Sets the location of an HTML control or sends a special command to it
Moves an object
Sets the valid range of values of a control.
Selects one or more items of a control
Sets the size of an object
Sets the state of a treeview node
Sets or resets the style of an object
Sets the text of an object
Sets the value(s) and/or the minimum and maximum range of a control
Shows or hides an object
Sorts the contents of a control

Dialog functions

These functions are related to standard dialog boxes and message boxes.

Displays a message box
Displays the standard Select Color dialog box
Displays the standard Open dialog box
Displays the standard Select Path dialog box
Displays the standard Save As dialog box

Drawing functions

These are functions that draw pixels, shapes, lines, and text.

Draws an opaque or transparent bitmap
Draws a straight line
Draws a point of color
Draws a filled or hollow rectangle
Draws a text string
Returns the RGB color value of a pixel

Image functions

These functions are related to images (bitmaps, icons and cursors).

Creates an image Image:Icon stop 16.gif
Creates a masked (transparent) image
Destroys an image
Loads an image file from disk and returns a handle to it
Returns the internal true-color representation of an image
Gets the dimensions of an image
Saves an image to disk
Assigns an image to an object
Assigns a portion of an image to a control item

Low-level functions

These functions are for direct access to the Windows API and other low-level operations.

Calls a DLL function Image:Icon stop 16.gif
Creates an image with DIB parameters Image:Icon stop 16.gif
Loads a DLL into memory
Returns the address of a variable
Retrieves the address of a library function
Returns the internal true-color representation of an image
Gets the contents of a memory area
Sets the contents of a memory area Image:Icon stop 16.gif
Releases a DLL from memory
Sends a Windows message to an object Image:Icon stop 16.gif

System functions

These are functions related to the OS or functions that simply did not fit in any other category.

Opens or executes a command
Creates a font
Creates a timer
Destroys a font
Destroys a timer
Looks for a file in the Windows and System directories
Detects a running instance of a WinBinder application
Returns the value of a registry entry
Returns various data about the current system
Enters the Windows main loop
Plays a system sound
Sets the value of a registry entry Image:Icon stop 16.gif
Verifies mouse and keyboard status, create a delay

Window functions

These functions are related to windows and dialog boxes.

Creates a window
Destroys a window
Retrieves the class of a control, window or menu
Returns a handle to the window or control that has the keyboard focus
Returns the integer identifier of a control or window
Returns the number of items in an object
Returns an array with child items or controls
Returns the control or item parent
Retrieves the position of a control or window
Retrieves the size of a control or window
Gets the text from a control, window, menu item, an item, or sub-item
Tells whether an object is visible
Refreshes or redraws an object
Assigns the focus to an object
Assigns a callback function to a window
Assigns an image to an object
Moves an object
Sets a specific area in a window
Sets the size of an object
Sets or resets the style of an object
Sets the text of an object
Shows or hides an object
Verifies mouse and keyboard status, create a delay

See also