PG> Does anybody know off hand how to place a variable length text
PG> string in a dialog box?
PG> I'm making a quiz program. I want to make one dialog box
PG> with answer buttons (multiple choice) and rather than make 20 (or
PG> more) different dialogs and then switching them out for each question,
PG> I'd rather use the same dialog and simply switch out a text string
PG> from a string table.
SetDlgItemText is the function, if you're using Windows API. If you're not,
then I have no idea, because you didn't mention your environment and
compiler...
// Albert email: jla@to.icl.fi
... Ok, untested - but it should work.
--- GoldED/2 2.50+
---------------
* Origin: Albert's Point/2 in Finland, Europe (2:221/360.20)
|