Visual Basic | |
---|---|
Public Delegate Sub _ISelectionManagerEvents_SelectionChangedNotifyEventHandler() |
C# | |
---|---|
public delegate void _ISelectionManagerEvents_SelectionChangedNotifyEventHandler() |
JavaScript | |
---|---|
Event Not Supported |
COM native C++ | |
---|---|
SelectionChangedNotify(); |
C++ | |
---|---|
SelectionChangedNotify(); |
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
}
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.
_ISelectionManagerEvents_SelectionChangedNotifyEventHandler Members
Interop.dsAutomation Namespace
ISelectionManager Event SelectionPreNotify
Interop.dsAutomation Namespace
ISelectionManager Event SelectionPreNotify
DraftSight V1R1