diff options
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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 |
