I am writing a program and I want to do something but have not idea if it is ever possible in Pure Basic.
I would like to be able to either hover over a selection option in a ListIcon (or Right click on it) and for a small thumbnail picture of the item to be displayed roughly where the mouse is.
I have seen this done in some windows applications before but have no idea if Pure Basic is capabile.
Can someone tell me if this can be done, and how it might be achieved.
Thanks
Andy
Is this possible at all?
Is this possible at all?
Real Power Comes From Sharing It With Those Who Think They Have It All.
Shoud'nt be that hard at all.
i can give you these tips.
- create a ListIconGadget
- catch rightclick mouse event
- grab the item name (probebly full file name that is a valid image)
- open a window in the mouse x/y with the height and width of the image
you wish to load and create a ImageGadget in the new window created.
- display the image
- any other click outside of the new open window will close it.
thats it .
good luck.
i can give you these tips.
- create a ListIconGadget
- catch rightclick mouse event
- grab the item name (probebly full file name that is a valid image)
- open a window in the mouse x/y with the height and width of the image
you wish to load and create a ImageGadget in the new window created.
- display the image
- any other click outside of the new open window will close it.
thats it .
good luck.
Thank you. That is exactly what I wanted to know. I didn't want the code, just clues on what to do.
Pantcho!!: That is perfect. I understand that completly, even though I am fairly new at this. I can go off and have a play to see what I can do.
Thank you both again.
Andy
Pantcho!!: That is perfect. I understand that completly, even though I am fairly new at this. I can go off and have a play to see what I can do.
Thank you both again.
Andy
Real Power Comes From Sharing It With Those Who Think They Have It All.



