adding font to a combo box
I have created a list box using this code...
I can see the listbox or combobox (whatever it's called) in my window and I want to add all the fonts on my system (the ones in the C:\Windows\Fonts folder) but I have no idea how to do this. Can anyone help me? Thanks.
hFontTypeButton = CreateWindowEx( 0, WC_COMBOBOXEX,
CBS_SIMPLE | WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST,
(HINSTANCE)GetWindowLong( hDnaToolBar, GWL_HINSTANCE ),