| |
|
|
Michael Wodrich | Messages for Auswahlboxen ComboBox-Messages
These messages are for all types of ComboBoxen einzusetzen; moreover counts too The of XProfan supported AuswahlBox. others ComboBox-Types permit z.B. too The input in the obersten row or show constantly both pieces the ComboBox on: Edit box and Listbox.
scheduler:
worth | Constant | Description | $0140 | cb_GetEditSel | - | $0141 | cb_LimitText | - | $0142 | cb_SetEditSel | - | $0143 | cb_AddString | - Fügt a String to list of/ one Selection 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&,$0143,0,V#)
Hierbei is W& the lever the Selection. ----- | $0144 | cb_DeleteString | - deletes a String from list of/ one Selection.
P:L3 - index the To löschenden String (first String = 0) Return Value: <0 = Error ----- | $0145 | cb_Dir | - Fügt a list the Files from the actually directory to Auswahlliste hinzu. with the selection becomes the Dateiattribut (see under @LINKF:[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&,$0145,$4037,V#)
Hierbei is W& the lever the Selection. circa only a Laufwerksliste To produce, is as Attribut in P:L3 the worth $4000 einzusetzen. ----- | $0146 | cb_GetCount | - Number of Entries in the list. Return Value: index the last Eintrages (first entry = 0) ----- | $0147 | cb_GetCurSel | - index the currently selected Eintrages the list. Return Value: index the Eintrages (first entry = 0) ----- | $0148 | cb_GetLBText | - 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 ----- | $0149 | cb_GetLBTextLen | - determined The length one String from the list.
P:L3 - index the desired Eintrages Return Value: length the Strings ----- | $014A | cb_InsertString | - | $014B | cb_ResetContent | - deletes The list the Selection. ----- | $014C | cb_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) ----- | $014D | cb_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) ----- | $014E | cb_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) ----- | $014F | cb_ShowDropDown | - shows The Auswahlliste one Auswahlfensters.
P:L3 : 1 = Auswahlliste zeigen; 0 = Auswahlliste close ----- | $0150 | cb_GetItemData | - | $0151 | cb_SetItemData | - | $0152 | cb_GetDroppedControlRect | - | $0153 | cb_SetItemHeight | - | $0154 | cb_GetItemHeight | - | $0155 | cb_SetExtendedUI | - | $0156 | cb_GetExtendedUI | - | $0157 | cb_GetDroppedState | - | $0158 | cb_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/29/05 ▲ |
|
|
|