How To Stop Visio Shape Search Window Automatically Opens

Started by yb0312, November 16, 2015, 05:51:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yb0312

hi,
In My program, I use ActiveX controls to display Visio graphics. After opening the file, I use the following code to close the Shape Search Window.
mCtl.Window.Application.ActiveWindow.Windows.get_ItemFromID((int)VisWinTypes.visWinIDShapeSearch).Close();
Because I need to open multiple windows to display multiple visio files.So I opened up several windows simultaneously. In the first window, the Shape Search Window can be closed normally,but others can not. Please tell me how to solve this problem. Thanks!

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 130 (show)
Files included: 34 - 1321KB. (show)
Memory used: 1054KB.
Tokens: post-login.
Cache hits: 13: 0.00233s for 26,573 bytes (show)
Cache misses: 3: (show)
Queries used: 18.

[Show Queries]