Search dialog boxes are defined within SearchList section of the BaseQuery in XXX_CONFIG.XML files, where XXX can be Fred4, Ted4, Shell4, Edadmin4 or Admin4.
For each search dialog box, there one SearchObjectUI section in the SearchList section within BaseQuery section. Therefore, to locate a search dialog box, you need to locate first the parent base query.
Locate the parent base query as explained in Finding a base query in the configuration files.
Expand the base query: you will see the groups (optional), directory style list and the search list.
Locate the configuration of the given search dialog box
1.Identify the script that runs when you click the given menu command.
Display the Shell main tab in Ted4 or Fred4 Use the Capture feature of the Script editor to get the script name, while clicking the menu command. In this example, we'll assume you identified the script as SearchArticles.
2.Open the add-ins solution in Visual Studio Express, and then press SHIFT+CTRL+F to display the search dialog box. In Find what, enter SearchArticles. In Look in, select Entire solution. Make sure that in Find options, all check boxes are clear, and that it's empty also Look at these file types.
This will display the find results. Double-click the line with Public Sub SearchArticles().
3.In the script displayed, identify the name of the related base query. It is the first parameter of the ShowSearchDialog line (in this example, "EditorialShell"). Also identify the name of the search criteria definition. It is the second parameter (in this example, "Advanced").
<ShellCommand()> _
Public Sub SearchArticles()
ShowSearchDialog("EditorialShell", "Advanced", "Article Search", Nothing)
End Sub
4.Now, perform the search for the search pane as explained in Finding a search pane in the configuration files.
5.Within SearchList, locate the searchObjectUI with the above name.
The rest is the same as for search panes.