_ISelectionManagerEvents SelectionChangedNotify Event Send Feedback
See Also 
Notifies an application when an entity is selected.

Syntax

Visual Basic 
Public Delegate Sub _ISelectionManagerEvents_SelectionChangedNotifyEventHandler() 
C# 
public delegate void _ISelectionManagerEvents_SelectionChangedNotifyEventHandler()
JavaScript 
Event Not Supported
COM native C++ 
SelectionChangedNotify();
C++ 
SelectionChangedNotify();

Example

COM native C++

Header file

    //Register the events for the ISelectionManager class

BEGIN_SINK_MAP(CDsAddinSelectionManager)

SINK_ENTRY_EX(IDC_DSAPPLICATIONEVENT, DIID__ISelectionManagerEvents, dsSelectionManager_SelectionChangedNotify_id, OnSelectionChangedNotify)

END_SINK_MAP()


//Declare the callbacks for ISelectionManager class
void __stdcall OnSelectionChangedNotify();

 

Source file

void __stdcall CDsAddinSelectionManager::OnSelectionChangedNotify()

{

      // TODO: Add your code here

 }

Remarks

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

See Getting Started for more information about C++ interface add-in template callback functions.

See Also

Availability

DraftSight V1R1