Hello,
I have a program that pops up a dialog box that will gather user input. I'd like execution to stop until the user has supplied that input and pressed "OK" on the dialog box.
I thought that gSystem->ProcessEvents() would force that wait, so I have the present code snippet:
// Pop up a dialog box and get info about the file.
SimpleDialog(); // pop up the dialog gSystem->ProcessEvents(); // should wait for input? cout << "File has " << ncols << " columns" << endl;
The output from the cout line shows that the system is not waiting for input.
Thanks for any help,
Roger
Received on Thu Feb 01 2007 - 22:14:59 CET
This archive was generated by hypermail 2.2.0 : Fri Feb 02 2007 - 05:50:01 CET