Posted by Barbara Brazil on December 09, 2005 at 14:46:18:
In Reply to: Tabbed dialog question posted by Grant Foraker on December 09, 2005 at 14:36:21:
Grant:
By adding the event to the filter, you're indicating that you want to be notified of it. In this case we're saying we want to be notified of the BN.CLICKED event for the OK and CANCEL buttons. Then to "disable" their effect, in your event handler you'd trap the event and simply ignore it:
case ID.OK
break
If you didn't handle these events, they would by default cause the dialog to close.
bb