Is it possible to be notified if a user selects cancel button from the printing开发者_StackOverflow prompt in IE ? Basically I want a print-cancelled kind of notification.
I read somewhere that IOlecommandtarget interface can be used to be notified for our own controls, but can the same be used for system controls like print ? Can anyone help ?
If you are using IOleCommandTarget::Exec
Method you will get OLECMDERR_E_CANCELED
as return value on cancel.
精彩评论