Visio Guy

Visio Discussions => Programming & Code => Topic started by: yb0312 on November 16, 2015, 05:51:26 PM

Title: How To Stop Visio Shape Search Window Automatically Opens
Post by: yb0312 on November 16, 2015, 05:51:26 PM
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: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 40 (show)
Files included: 25 - 925KB. (show)
Memory used: 773KB.
Tokens: post-login.
Cache hits: 6: 0.00121s for 22,291 bytes (show)
Cache misses: 1: (show)
Queries used: 8.

[Show Queries]