I can't seem to get my hotspots to add. I took these examples from the help and still cannot get the hotspots to add. I'm using version 4.35 on a Vista computer. WindowHotspotList is always nil.
WindowCreate ("test", 0, 0, 200, 200, 6, 0, ColourNameToRGB("slategray"))
WindowAddHotspot("test", "hs1",
0, 0, 200, 200, -- rectangle
"mouseover",
"cancelmouseover",
"mousedown",
"cancelmousedown",
"mouseup",
"Click here to be healed", -- tooltip text
1, 0) -- hand cursor
function mouseover (flags, hotspot_id)
Note ("we moused over hotspot " .. hotspot_id)
end -- mouseover
WindowShow("test", true)
-- show all hotspots
hotspots = WindowHotspotList("test")
if hotspots then
for _, v in ipairs (hotspots) do
Note (v)
end
end -- if any