hi all
i am having some trouble with linking dialog events to my document data.
my view class creates a modeless dialog when a menu option is selected. from this dialog, a button may be pressed. i want to be able to have that event handler access data in the document class, but i can't get at document data if the event handler is in the dialog class. i tried putting the event handler in the view class but the message maps didnt work - ie the function was not getting called.
i would be very grateful if anyone could advise me on how to go about this. i would like to do it the best and most practiced way.
thanks,
Paul
i am having some trouble with linking dialog events to my document data.
my view class creates a modeless dialog when a menu option is selected. from this dialog, a button may be pressed. i want to be able to have that event handler access data in the document class, but i can't get at document data if the event handler is in the dialog class. i tried putting the event handler in the view class but the message maps didnt work - ie the function was not getting called.
i would be very grateful if anyone could advise me on how to go about this. i would like to do it the best and most practiced way.
thanks,
Paul