grchen168
Guest
|
It works when setting 'e.Cancel=true;' within IEModule_OnBeforeExecute event (when e.CommandId==6) to supress IE main window's 'Print' menuitem functionality. But also found that, doing that, the underlying web page's javascript's windows.print() call is also suppressed!
Why? And, how to just supress IE windows print menuitem, and in the meantime, not to interfere the shown web page's javascript windows.print() functionality under that case? |
|
Andrei Smolin
Add-in Express team
Posts: 18652
Joined: 2006-05-11
|
Oh, great!
Actually, this is the same command whether you issue it in code or via the commandbar button. You can check if the context differs when you send it from code: check what other commands are given before the Pronit command occurs .
Andrei Smolin
Add-in Express Team Leader |
|