I'm trying to use a single drop-down list to handle a few different
cases, and I'd like to use the function LstSetListChoices to modify the
options contained in the list at any point. But neither
CharPtr ChoiceArray[4] = {"abc", "def", "ghi", "jkl"};
LstSetListChoices( listP, ChoiceArray, 4 );
nor
LstSetListChoices( listP, {"abc", "def", "ghi", "jkl"}, 4 );
are working. The examples I've found thus far either involve using string
resources or custom list draw routines, and it seems there should be a
simpler, more direct method like I've tried above. Could someone tell me
why the above attempts don't work and if there is a simple modification
that would make it work?
Michael