world.WindowDeleteHotspot
Deletes a hotspot from a miniwindow
Prototype
long WindowDeleteHotspot(BSTR WindowName, BSTR HotspotId);
Description
This deletes the hotspot from the miniwindow.
WindowName - the name of an existing miniwindow.
HotspotId - the hotspot id to be deleted.
For more information, see:
http://www.gammon.com.au/mushclient/mw_hotspots.htm
Lua example
WindowDeleteHotspot (win, "hs1");
Return value
eNoSuchWindow - no such miniwindow
eHotspotNotInstalled - no such hotspot
eOK - completed OK
Related topic
See also
| Function | Description |
|---|---|
| WindowAddHotspot | Adds a hotspot to a miniwindow |
| WindowCreate | Creates a miniwindow |
| WindowDeleteAllHotspots | Deletes all hotspots from a miniwindow |
| WindowHotspotInfo | Returns information about a hotspot |
| WindowHotspotList | Lists all hotspots installed into a miniwindow |