Adding Custom Web Pages
To add custom web pages to the navigation area, the Creo TOOLKIT application must:
1. Add a new pane to the navigation area.
2. Set an icon for this pane.
3. Set the URL of the location that will be displayed in the pane.
Functions Introduced:
The function ProNavigatorpaneBrowserAdd() adds a new pane that can display a web page to the navigation area. The input arguments are:
pane_name—Specify a unique name for the pane. Use this name in susbsequent calls to ProNavigatorpaneBrowsericonSet() and ProNavigatorpaneBrowserURLSet().
icon_file_name—Specify the name of the icon file, including the extension. A valid format for the icon file is .GIF, .JPG, or .PNG. The new pane is displayed with the icon image. If you specify the value as NULL, the default icon is used.
url—Specify the URL of the location to be accessed from the pane.
Use the function ProNavigatorpaneBrowsericonSet() to set or change the icon of a specified browser pane in the navigation area.
Use the ProNavigatorpaneBrowserURLSet() to change the URL of the page displayed in the browser pane in the navigation area.
¿Fue esto útil?