ProjectHookClass Property

Applies To   See Also

The default ProjectHook class for a project.

Syntax

Object.ProjectHookClass[ = cClassName]

Settings

cClassName

Specifies the default ProjectHook class for a project. Before you can specify a ProjectHook class for a project, specify the .vcx visual class library containing the ProjectHook class with the ProjectHookLibrary property.

To delete the default ProjectHook class for a project, set the ProjectHookClass or ProjectHookLibrary property to the empty string.

Remarks

You can also specify the default ProjectHook class for a project in the Project tab of the Project Information dialog box.

Changing the ProjectHookClass property doesn’t instantiate the new ProjectHook object. The change takes effect the next time the project is opened. To change the current ProjectHook object, use the ProjectHook property.

For more information about projects, see Project Manager Hooks in Chapter 32, “Application Development and Developer Productivity,” of the Programmer's Guide.