Notifies an application when an entity is selected.
.NET Syntax
Visual Basic (Declaration) | |
---|
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
Availability
DraftSight V1R1