summaryrefslogtreecommitdiff
path: root/alf/alf.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.h')
-rw-r--r--alf/alf.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/alf/alf.h b/alf/alf.h
index 6d36aff..c6a7b77 100644
--- a/alf/alf.h
+++ b/alf/alf.h
@@ -142,6 +142,37 @@ ALF_SetModalResult(HWND win, int result);
int
ALF_GetModalResult(HWND win);
+// combo box
+
+HWND
+ALF_AddEditableComboBox(HWND win, WORD id, UINT x, UINT y, const TCHAR *defaultText);
+
+HWND
+ALF_AddSelectionOnlyComboBox(HWND win, WORD id, UINT x, UINT y);
+
+int /* index */
+ALF_ComboBoxAddString(HWND combo, const TCHAR *text);
+
+void
+ALF_ComboBoxInsertString(HWND combo, int index, const TCHAR *text);
+
+void
+ALF_ComboBoxRemoveString(HWND combo, int index);
+
+int
+ALF_ComboBoxCurrentIndex(HWND combo);
+
+void
+ALF_ComboBoxSetCurrentIndex(HWND combo);
+
+// NOTE: call HeapFree
+TCHAR *
+ALF_ComboBoxCurrentText(HWND combo);
+
+void
+ALF_ComboBoxSetText(HWND combo, const TCHAR *text);
+
+
#ifdef __cplusplus
} // extern C
#endif