I have a drop down list box defined, called WH_QUERY.
I want to put things in it, and allow the user to select from the things
I put in it, or enter something new. If they enter something new, I'd like
to see it added into the list box. (iot behave like a ddlb should behave)
I've poured through the MS SDK manuals, and through the petzold book.
The closest any of them came was when Petzold called a font dialog from
commdlg that *used* a drop down list box. But there was no mention of
how to implement your own dialogs that use them.
I have the following code...
case WH_QUERY :
GetDlgItemText(hDlg, WH_QUERY, (LPSTR) wh_query, CMD_LEN);
SendDlgItemMessage (hDlg, WH_QUERY, LB_ADDSTRING, 0,(LONG)(LPSTR) wh_query);
(strange indentation is so that it'll fit on one line)
what else do I need? As this is *not* enough...