|
GetMaximumCallbacks Function
|
|
|
Prototype
|
Public Declare Function GetMaximumCallbacks Lib "TclBridge.dll" () As Long
|
|
Input
|
None.
|
|
Output
|
None.
|
|
Returns
|
The maximum number of custom commands that can be registered.
Can be changed with the SetMaximumCallbacks function.
|
|
COM Results
|
Not applicable.
|
|
Side Effects
|
None.
|
|
Description
|
None.
|
|
Notes
|
The declaration for this function is in the "TclBridgeSupport" (TCLBSUPT.BAS) module.
|
|
Example
|
Private Sub Command1_Click()
' reasonable limit is about 1000000 Call SetMaximumCallbacks(100) MsgBox "Total of " & GetMaximumCallbacks() & " callbacks available.", vbInformation, App.Title End Sub |