开发者

Getting print cancelled notification in IE using IOlecommandTarget::QueryStatus

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜