Ets_Nt_Click_Callback_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a function that is called every time there is a click on the workspace.
Syntax
Ets_Nt_Click_Callback_Register (callback_func, state_ptr)
| Argument | Type | Description |
|---|---|---|
callback_func |
EtsT_Nt_Click_Callback |
Function that will be called every time there is a click. |
state_ptr |
void * |
Client (user) arbitrary state that needs to be passed in to the callback function. Can be NULL. |
Return Type
void
No return value.
Header
ets_api_nt_cback.h
Details
When a user clicks the mouse in the workspace, the application checks to see if a click callback has been registered using this function. If so, the user-defined callback is invoked. Otherwise, default double-click behavior occurs.
The callback function prototype is given in EtsT_Nt_Click_Callback.