foobar2000 SDK
2015-08-03
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
foobar2000
helpers
Functions
dropdown_helper.cpp File Reference
Go to the source code of this file.
Functions
static void
g_setup_dropdown_fromlist
(HWND wnd, const
pfc::ptr_list_t
< char > &list)
Function Documentation
static void g_setup_dropdown_fromlist
(
HWND
wnd
,
const
pfc::ptr_list_t
< char > &
list
)
static
Definition at line
35
of file
dropdown_helper.cpp
.
36
{
37
t_size
n, m = list.
get_count
();
38
uSendMessage(wnd,CB_RESETCONTENT,0,0);
39
for
(n=0;n<m;n++) {
40
uSendMessageText
(wnd,CB_ADDSTRING,0,list[n]);
41
}
42
}
uSendMessageText
LRESULT SHARED_EXPORT uSendMessageText(HWND wnd, UINT msg, WPARAM wp, const char *text)
pfc::list_impl_t::get_count
t_size get_count() const
Definition:
list.h:365
t_size
size_t t_size
Definition:
int_types.h:48
Generated by
1.8.11