Unit avoraiser.combobox

Description

Avoraiser UI Framework - High-Performance WinAPI UI for Avocado Avoraiser is a framework for creating modern user interfaces for the Polish programming language Avocado. Copyright (c) 2025-2026 Dymitr Wygowski (Programista Art) Project Created: 23.12.2025

Author: Dymitr Wygowski (Programista Art) Contact: programista.art@gmail.com GitHub: https://github.com/Programista-Art/Avoraiser Version: 1.0 License: Dual-Licensed: Avoraiser Community / Commercial See LICENSE.md for terms and conditions.

Module: avoraiser.combobox Description:

Uses

Overview

Functions and Procedures

function add_item_combo_box(h_wnd: HWND; const text: UnicodeString): Integer;
procedure clear_combo_box(h_wnd: HWND);
function create_combo_box(h_parent: HWND; x, y, width, height: Integer; id: Integer): HWND;
function get_combo_box_index(h_wnd: HWND): Integer;
function get_combo_box_text(h_wnd: HWND): UnicodeString;
function get_selected_combo_text(h_wnd: HWND): UnicodeString;
procedure select_combo_box_index(h_wnd: HWND; index: Integer);
procedure set_dropdown_color(h_combo: HWND; text_color, bg_color: DWORD);

Types

t_subclass_proc = function(h_wnd: HWND; u_msg: UINT; w_param: WPARAM; l_param: LPARAM; u_id_subclass: UINT_PTR; dw_ref_data: DWORD_PTR): LRESULT; stdcall;

Description

Functions and Procedures

function add_item_combo_box(h_wnd: HWND; const text: UnicodeString): Integer;

Funkcja dodaje element i zwraca jego indeks (np. 0, 1, 2...)

procedure clear_combo_box(h_wnd: HWND);

Funkcja czyści całą listę

function create_combo_box(h_parent: HWND; x, y, width, height: Integer; id: Integer): HWND;

This item has no description.

function get_combo_box_index(h_wnd: HWND): Integer;

Pobiera indeks wybranego elementu (0, 1, 2...)

function get_combo_box_text(h_wnd: HWND): UnicodeString;

Pobiera tekst wybranego elementu

function get_selected_combo_text(h_wnd: HWND): UnicodeString;

  1. Pobiera tekst aktualnie wybranego elementu

procedure select_combo_box_index(h_wnd: HWND; index: Integer);

Funkcja zaznacza element o podanym indeksie (np. 0 = pierwszy)

procedure set_dropdown_color(h_combo: HWND; text_color, bg_color: DWORD);

This item has no description.

Types

t_subclass_proc = function(h_wnd: HWND; u_msg: UINT; w_param: WPARAM; l_param: LPARAM; u_id_subclass: UINT_PTR; dw_ref_data: DWORD_PTR): LRESULT; stdcall;

This item has no description.


Generated by PasDoc 1.0.4.