How to realize dialog button clicked in main function?



I created a dialog with "OK" and "Cancel" buttons using GNOME.
I tried to realize dialog button clicked in main function as MFC: 
if (dialog.DoModal() == IDOK) { // do my work here }. If you have
any idea about how to do that, please give me a message. Thanks!

chen 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]