Windows file explorer example.

BlitzMax Forums/BlitzMax Programming/Windows file explorer example.

Ziltch(Posted 2006) [#1]
I am working on a project that makes painting like effects on live video,avi's, etc. I needed a listbox that had a directory view with thumbnails and a selected picture list that could be edited.

I am using columns in a listbox so the window is not resizable.

It has a scalable picture preview.
A ComboBox Drive list.
You can select Multi files at once.

It only shows picture files. jpg,bmp,png and Directories.

I thought that other might found this code or bits of it useful.

It also had sorting of the selected pictures but the lastest fix to listboxs has stopped that from working, so I have removed the sorting code.


EDIT:Updated code.


fredborg(Posted 2006) [#2]
Cool! But there is a bug in the line:
					SetGadgetText(ExplorerSelectedOrderButton,"Selected Pics "+(SelIndex- DelCount+1))
Commenting it out, makes it work.


Ziltch(Posted 2006) [#3]
Thanks fredborg.
The code now is updated. I had declared variables in wrong pos.


Raph(Posted 2007) [#4]
Ziltch, how did you make the name of the file editable? I can't figure it out from the code.