Hide Table of Contents
DSldWorksEvents_ActiveDocChangeNotifyEventHandler Delegate (SolidWorks.Interop.sldworks)

Post-notifies the user program when the active window has changed. This change can be between windows of the same document or between windows of different documents.

.NET Syntax

Visual Basic (Declaration) 
Public Delegate Function DSldWorksEvents_ActiveDocChangeNotifyEventHandler() As System.Integer
Visual Basic (Usage) 
Dim instance As New DSldWorksEvents_ActiveDocChangeNotifyEventHandler(AddressOf HandlerMethod)
public delegate System.int DSldWorksEvents_ActiveDocChangeNotifyEventHandler()
public delegate System.int DSldWorksEvents_ActiveDocChangeNotifyEventHandler();


For example, if you open two documents and then select Window, New Window for one of the documents, you will have three windows visible in your SolidWorks session. This event is sent when you switch between any combination of those windows.


This event is only sent when the active window in the SolidWorks session actually changes to a new active window. Window activations are not guaranteed during, for example, the shutdown of the SolidWorks application. For example, if the SolidWorks application closes a non-active document, then there re is no need to activate a new window.


If developing a C++ application, use swAppDocChangeNotify to register for this notification.


SolidWorks 2001Plus FCS, Revision Number 10.0

Provide feedback on this topic


* Required

Subject:   Feedback on Help Topics
Page:   DSldWorksEvents_ActiveDocChangeNotifyEventHandler Delegate (SolidWorks.Interop.sldworks)

Print Topic

Select the scope of content to print:



 Never show this message again


