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.Code:hFontTypeButton = CreateWindowEx( 0, WC_COMBOBOXEX, NULL, CBS_SIMPLE | WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST, 55,2,170,23,hDnaToolBar, (HMENU)IDB_FONTTYPE, (HINSTANCE)GetWindowLong( hDnaToolBar, GWL_HINSTANCE ), NULL);