English
Online-Documentation

listbox-messages Statement: Message-Handling

 

Michael
Wodrich
Messages for Listboxes
Listbox-Messages

These messages are for Listboxes To use.

scheduler:
worthConstantDescription
$0180lb_AddString- Fügt a String to list of/ one Listbox hinzu. The String standing in the Memory-Variables.

P:L4 - area = hinzuzufügender String
Return Value: <0 = Error

example:
s$ = "Das is a Test!"
String V#,0 = s$
@SendMessage(W&,$0180,0,V#)

Hierbei is W& the lever the Listbox.
-------
$0181lb_InsertString-
$0182lb_DeleteString- deletes a String from list of/ one Listbox.

P:L3 - index the To löschenden String (first String = 0)
Return Value: <0 = Error
-----
$0184lb_ResetContent- deletes The list the Listbox.
-----
$0185lb_SetSel-
$0186lb_SetCurSel- dial a entry from the list from and roll it into visible area.

P:L3 - index the desired Eintrages (-1: no entry becomes select)
-----
$0187lb_GetSel-
$0188lb_GetCurSel- index the currently selected Eintrages the list.

Return Value: index the Eintrages (first entry = 0)
-----
$0189lb_GetText- copies a String from the list into Memory-Variable.

deference: the abschliessende byte with the worth 0 (zero) is because of the Rückgabewertes self To settle!

<b>Hinweis:</b> The Memory-Variable must enough dimensioniert his!

P:L3 - index the desired Eintrages
P:L4 - area, the whom String take in should
Return Value: length the Strings
-----
$018Alb_GetTextLen- determined The length one String from the list.

P:L3 - index the desired Eintrages
Return Value: length the Strings
-----
$018Blb_GetCount- Number of Entries in the list.

Return Value: index the last Eintrages (first entry = 0)
-----
$018Clb_SelectString- it'll the entry determined, the with the Suchstring begins. The entry becomes markiert and whom visible area the list wheeled.

P:L3 - index the Eintrages to the The Search beginnt; should tappt im dunkeln at the beginning begin, must it -1 his.
P:L4 - area = Suchstring
Return Value:
<0 = Error (not found)
>=0 = index the sought Eintrages (first entry = 0)
-----
$018Dlb_Dir- Fügt a list the Files from the actually directory to list hinzu. with the selection becomes the Dateiattribut (see under @LINK:[GetFAttr]) berücksichtigt. circa additional The drives aufzulisten, is $4000 the Attribut hinzuzufügen.
The Memory-Variable contains The Suchmaske.

P:L3 - Dateiattribut
P:L4 - area = File-Suchmaske (z.B. "*.*")
Return Value:
<0 = Error (z.B. To little Space in the list)
>=0 = index the last Eintrages (first entry = 0)

example:
s$ = "*.*"
String V#,0 = s$
@SendMessage(W&,$018D,$4037,V#)

Hierbei is W& the lever the Listbox. circa only a Laufwerksliste To produce, is as Attribut in P:L3 the worth $4000 einzusetzen.
-----
$018Elb_GetTopIndex-
$018Flb_FindString- it'll the entry determined, the with the Suchstring begins.

P:L3 - index the Eintrages to the The Search beginnt; should tappt im dunkeln at the beginning begin, must it -1 his.
P:L4 - area = Suchstring
Return Value:
<0 = Error (not found)
>=0 = index the sought Eintrages (first entry = 0)
-----
$0190lb_GetSelCount-
$0191lb_GetSelItems-
$0192lb_SetTabStops-
$0193lb_GetHorizontalExtent-
$0194lb_SetHorizontalExtent- usually corresponds to The tatsächliche wide of/ one Listbox the wide, The on screen To see is:
there's none horizontalen Scollbalken. These Message setting The wide the Listboxliste in Pixel.
is The wide greater as the indicated area, sustain The list a horizontalen Scroll bar.

P:L3 - wide the list in Pixel
-----
$0195lb_SetColumnWidth-
$0197lb_SetTopIndex-
$0198lb_GetItemRect-
$0199lb_GetItemData-
$019Alb_SetItemData-
$019Blb_SelItemRange-
$019Elb_SetCaretIndex-
$019Flb_GetCaretIndex-
$01A0lb_SetItemHeight-
$01A1lb_GetItemHeight-
$01A2lb_FindStringExact-
deference: These Messages Please not others Windowsobjekten bring into action, there there The equal Botschaftsnummern another weight having!
 
Programmieren, das spannendste Detektivspiel der Welt.
06/28/05  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

679 Views

Untitledvor 0 min.
Sven Bader08/17/21
RudiB.03/15/21
Christof Neuß10/16/16
GDL08/29/13
More...

Themeninformationen

this Topic has 1 subscriber:

Michael Wodrich (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie