[ Proof Of Concept ] Scrollable image list ( supports .gifs)

Post your working scripts, libraries and tools
User avatar
Sjc1000
Posts: 39
Joined: 02 Oct 2013, 02:07

[ Proof Of Concept ] Scrollable image list ( supports .gifs)

05 Jan 2014, 00:16

This is just a small proof of concept. Fully working code that puts an image list control in your GUI ( can be any GUI and size etc. ).
It uses MSHTML and embeds a website into the GUI with images.

It supports .gifs and alpha channel.


Here is everything you need. Enjoy.

Select a folder with image in it and it will load them up. :D it also shows the directory of the one you clicked on.

Code: [Select all] [Expand] [Download] (Script.ahk)GeSHi © Codebox Plus



Example of it in use.

Image
Last edited by Sjc1000 on 06 Jan 2014, 20:53, edited 1 time in total.
Please find me on the IRC if you have any questions, I'm never on the forum anymore.
User avatar
tidbit
Posts: 1084
Joined: 29 Sep 2013, 17:15
Location: USA

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

05 Jan 2014, 17:06

Nice use of MSHTML instead of InternetExplorer.Application.
And a nice little class demo too. And GIF support :D

This'll be a good reference, awesome.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
joedf
Posts: 6396
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

06 Jan 2014, 15:38

Nice! :D
tmplinshi
Posts: 1214
Joined: 01 Oct 2013, 14:57

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

06 Jan 2014, 20:37

Nice, and I've learned something from it. Thank you!
User avatar
Sjc1000
Posts: 39
Joined: 02 Oct 2013, 02:07

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

06 Jan 2014, 20:54

Thanks for all the positive feedback.. Feel free to ab[use] the code!

I also changed it around a bit. You can click to select one ( highlight ) and now double click to activate.
Please find me on the IRC if you have any questions, I'm never on the forum anymore.
tmplinshi
Posts: 1214
Joined: 01 Oct 2013, 14:57

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

06 Jan 2014, 21:43

Sjc1000 wrote:Thanks for all the positive feedback.. Feel free to ab[use] the code!

I also changed it around a bit. You can click to select one ( highlight ) and now double click to activate.

Like the changes. :D
User avatar
TLM
Posts: 1322
Joined: 01 Oct 2013, 07:52

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

15 Jan 2014, 21:10

*yoinx aspect ratio maths and tern
fauzone

Re: [ Proof Of Concept ] Scrollable image list ( supports .gifs)

11 Feb 2018, 02:51

this is cool.

but since I'm not an advanced in AHK, I still dont understand how to work with functions.

Could you please help me, I need a few changes:

How to change the window into full screen window? I only understand using these lines, but I couldnt find how to put it in this script
Gui Show, w%A_ScreenWidth% h%A_ScreenHeight%
Gui, -Caption +AlwaysOnTop

I also need the thumbnail to show in only one row, so the scrollbar also will be horizontal.

I also need option to hide the scrollbar, but the window still scrollable, is it possible?

Thank you all for your time.
Guest

Re: [ Proof Of Concept ] Scrollable image list ( supports .gifs)

11 Feb 2018, 03:51

this is cool.

but since I'm not an advanced in AHK, I still dont understand how to work with functions.

Could you please help me, I need a few changes:

How to change the window into full screen window? I only understand using these lines, but I couldnt find how to put it in this script
Gui Show, w%A_ScreenWidth% h%A_ScreenHeight%
Gui, -Caption +AlwaysOnTop

I also need the thumbnail to show in only one row, so the scrollbar also will be horizontal.

I also need option to hide the scrollbar, but the window still scrollable, is it possible?

Thank you all for your time.
User avatar
noname
Posts: 507
Joined: 19 Nov 2013, 09:15

Re: [ Proof Of Concept ] Scrollable image list ( supports .gifs)

12 Feb 2018, 06:56

Thanks for sharing Sjc1000 , this is an excellent example in so many ways! :)
burque505
Posts: 519
Joined: 22 Jan 2017, 19:37

Re: [ Proof Of Concept ] Scrollable image list ( supports .gifs)

12 Feb 2018, 10:34

Thanks, Sjc1000, works with animated gifs just fine too.
Regards,
burque505

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 15 guests