Returns the current dialog id.
ELITEAPI_API unsigned short __stdcall GetDialogIndex(void* apiObject);
Parameters
Return Value
Returns the current dialog selection index. If an error occurs or no dialog is open, the return is 0.