Ok. I am trying to load an image but it's not working. I just get a lightgrey box.
I'm just testing to see how to put images in, but haven't been able to do it yet.
Also, the grey box will go behind two plugins, but won't go behind a third. How do I make it go behind all the other miniwindows?
require "movewindow"
win = GetPluginID () -- get a unique name
WindowCreate (win, 0, 0, 200, 200, 12, 0, ColourNameToRGB("lightgrey")) -- create window
--WindowCreate (win, 0, 0, 200, 200, 12, 0, 0) -- create window
WindowLoadImage (win, "im1", "C:\Program Files\MUSHclient\worlds\images\scroll.bmp")
WindowDrawImage (win, "im1", 1, 1, 40, 40, 1)
-- find where window was last time
windowinfo = movewindow.install (win, 7)
-- let them move it around
movewindow.add_drag_handler (win, 0, 0, 0, 0)
WindowShow (win, true) -- show it
I'm just testing to see how to put images in, but haven't been able to do it yet.
Also, the grey box will go behind two plugins, but won't go behind a third. How do I make it go behind all the other miniwindows?