Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/Alphabetical list of functions

This list shows the core WinBinder functions listed in alphabetical order. These functions start with the prefix wb_.

Tip: You may also consult the list of <winterpostwiki>Functions by category</winterpostwiki>. For other functions, look see the See Also section below.

Function list

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

Function name Action taken
<winterpostwiki>wb_call_function</winterpostwiki> Calls a DLL function Image:Icon stop 16.gif
<winterpostwiki>wb_create_control</winterpostwiki> Creates a control, menu, or accelerator
<winterpostwiki>wb_create_font</winterpostwiki> Creates a font
<winterpostwiki>wb_create_image</winterpostwiki> Creates an image Image:Icon stop 16.gif
<winterpostwiki>wb_create_items</winterpostwiki> Creates one or more items in a control or menu
<winterpostwiki>wb_create_mask</winterpostwiki> Creates a masked (transparent) image
<winterpostwiki>wb_create_timer</winterpostwiki> Creates a timer
<winterpostwiki>wb_create_window</winterpostwiki> Creates a window
<winterpostwiki>wb_delete_items</winterpostwiki> Deletes items from a control or menu
<winterpostwiki>wb_destroy_font</winterpostwiki> Destroys a font
<winterpostwiki>wb_destroy_image</winterpostwiki> Destroys an image
<winterpostwiki>wb_destroy_timer</winterpostwiki> Destroys a timer
<winterpostwiki>wb_destroy_window</winterpostwiki> Destroys a window
<winterpostwiki>wb_destroy_control</winterpostwiki> Destroys a control
<winterpostwiki>wb_draw_image</winterpostwiki> Draws an opaque or transparent bitmap
<winterpostwiki>wb_draw_line</winterpostwiki> Draws a straight line
<winterpostwiki>wb_draw_point</winterpostwiki> Draws a point of color
<winterpostwiki>wb_draw_rect</winterpostwiki> Draws a filled or hollow rectangle
<winterpostwiki>wb_draw_text</winterpostwiki> Draws a text string
<winterpostwiki>wb_exec</winterpostwiki> Opens or executes a command
<winterpostwiki>wb_find_file</winterpostwiki> Look for a file in the Windows and System directories
<winterpostwiki>wb_get_address</winterpostwiki> Returns the address of a variable
<winterpostwiki>wb_get_class</winterpostwiki> Retrieves the class of a control, window or menu
<winterpostwiki>wb_get_control</winterpostwiki> Returns the handle to a child control in a dialog box or a menu item
<winterpostwiki>wb_get_enabled</winterpostwiki> Tells whether a control is enabled
<winterpostwiki>wb_get_function_address</winterpostwiki> Retrieves the address of a library function
<winterpostwiki>wb_get_id</winterpostwiki> Returns the identifier of a control
<winterpostwiki>wb_get_instance</winterpostwiki> Detects a running instance of a WinBinder application
<winterpostwiki>wb_get_item_count</winterpostwiki> Returns the number of items in an object
<winterpostwiki>wb_get_item_list</winterpostwiki> Returns an array with child items or controls
<winterpostwiki>wb_get_level</winterpostwiki> Retrieves the level of a control item
<winterpostwiki>wb_get_parent</winterpostwiki> Returns the control or item parent
<winterpostwiki>wb_get_pixel</winterpostwiki> Returns the RGB color value of a pixel
<winterpostwiki>wb_get_position</winterpostwiki> Retrieves the position of a control or window
<winterpostwiki>wb_get_registry_key</winterpostwiki> Returns the value of a registry entry
<winterpostwiki>wb_get_selected</winterpostwiki> Returns the selected state of one or more items
<winterpostwiki>wb_get_size</winterpostwiki> Retrieves the size of a control, window or image
<winterpostwiki>wb_get_state</winterpostwiki> Retrieves the state of a control item
<winterpostwiki>wb_get_system_info</winterpostwiki> Returns various data about the current system
<winterpostwiki>wb_get_text</winterpostwiki> Gets the text from a control, window, menu item, an item, or sub-item
<winterpostwiki>wb_get_value</winterpostwiki> Retrieves the value of a control, item, or sub-item
<winterpostwiki>wb_get_visible</winterpostwiki> Tells whether a control is visible
<winterpostwiki>wb_load_image</winterpostwiki> Loads an image file from disk and returns a handle to it
<winterpostwiki>wb_load_library</winterpostwiki> Loads a DLL into memory
<winterpostwiki>wb_main_loop</winterpostwiki> Enters the Windows main loop
<winterpostwiki>wb_message_box</winterpostwiki> Displays a message box
<winterpostwiki>wb_peek</winterpostwiki> Gets the contents of a memory area
<winterpostwiki>wb_play_sound</winterpostwiki> Play a system sound
<winterpostwiki>wb_poke</winterpostwiki> Sets the contents of a memory area Image:Icon stop 16.gif
<winterpostwiki>wb_refresh</winterpostwiki> Refreshes or redraws an object
<winterpostwiki>wb_release_library</winterpostwiki> Releases a DLL from memory
<winterpostwiki>wb_save_image</winterpostwiki> Saves an image to disk
<winterpostwiki>wb_send_message</winterpostwiki> Sends a Windows message to an object Image:Icon stop 16.gif
<winterpostwiki>wb_set_area</winterpostwiki> Sets a specific area in a window
<winterpostwiki>wb_set_enabled</winterpostwiki> Enables or disables a control
<winterpostwiki>wb_set_focus</winterpostwiki> Assigns the focus to an object
<winterpostwiki>wb_set_font</winterpostwiki> Sets the font of a control
<winterpostwiki>wb_set_handler</winterpostwiki> Assigns a callback function to a window
<winterpostwiki>wb_set_image</winterpostwiki> Assigns an image to an object
<winterpostwiki>wb_set_item_image</winterpostwiki> Assigns a portion of an image to a control item
<winterpostwiki>wb_set_location</winterpostwiki> Sets the location of an HTML control or sends a special command to it
<winterpostwiki>wb_set_position</winterpostwiki> Moves an object
<winterpostwiki>wb_set_registry_key</winterpostwiki> Sets the value of a registry entry Image:Icon stop 16.gif
<winterpostwiki>wb_set_selected</winterpostwiki> Selects one or more items of a control
<winterpostwiki>wb_set_size</winterpostwiki> Sets the size of an object
<winterpostwiki>wb_set_state</winterpostwiki> Sets the state of a treeview node
<winterpostwiki>wb_set_style</winterpostwiki> Sets or resets the style of an object
<winterpostwiki>wb_set_text</winterpostwiki> Sets the text of an object
<winterpostwiki>wb_set_value</winterpostwiki> Sets the value(s) and/or the minimum and maximum range of a control
<winterpostwiki>wb_set_visible</winterpostwiki> Shows or hides an object
<winterpostwiki>wb_sort</winterpostwiki> Sorts the contents of a control
<winterpostwiki>wb_sys_dlg_color</winterpostwiki> Displays the standard Select Color dialog box
<winterpostwiki>wb_sys_dlg_open</winterpostwiki> Displays the standard Open dialog box
<winterpostwiki>wb_sys_dlg_path</winterpostwiki> Displays the standard Select Path dialog box
<winterpostwiki>wb_sys_dlg_save</winterpostwiki> Displays the standard Save As dialog box
<winterpostwiki>wb_wait</winterpostwiki> Verifies mouse and keyboard status, create a delay

See also

Winbinder Projects