April 19, 2024, 07:56:22 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Recent posts

Pages1 2 3 ... 10
1
General Questions / Re: Editor Options problem
Last post by Brian - Yesterday at 06:40:35 AM
Bill,

You could always copy IWBDev.ini in the \bin folder from your old PC to the new one. The Compiler options are in that file, as well

Brian
2
General Questions / Editor Options problem
Last post by billhsln - April 17, 2024, 10:50:13 PM
I installed IWB on a new machine, but my problem is that the Editor Options dialog is way too big and I can get to the options to close the dialog.  Also the Compiler Options:Flags does not scroll.  Is there some way to fix this?

Thanks,
Bill
3
GUI Central / Image File Request
Last post by Brian - April 16, 2024, 08:39:39 AM
Hello,

Here's another simple image viewer from Steve Boothman (bevets, RIP). It can display bmp, jpg, gif, ico, cur and ani images, and you can set the scaling on the fly. This version starts at your GETSTARTPATH

If you need to recompile, you will need Steve's Control_Pak stuff. I must admit it took me some time to make it run, because he programmed it for EBasic, and some stuff in IWBDev is already there

Exe included

Brian


4
General Questions / Re: Folders and Files
Last post by Brian - April 07, 2024, 05:26:45 AM
Yes, I have seen that, Clint, thanks. What I was hoping for is to get the results of the SHBrowseForFolder into a Treeview without actually showing the BrowseForFolder dialog

Brian
5
General Questions / Re: Folders and Files
Last post by ckoehn - April 06, 2024, 06:18:05 PM
There is this example in the IWBASIC Example folder.

Later,
Clint

6
General Questions / Re: Folders and Files
Last post by Brian - April 04, 2024, 04:17:55 AM
Found some Powerbasic code to have a play with later
Brian
7
General Questions / Re: Folders and Files
Last post by Egil - April 03, 2024, 12:47:04 PM
Horst Schaeffer have written a smart little tool doing exactly that. I beleive it is written with PureBasic. The program is called "MemPad", and can be found on hiw webpage:
https://www.horstmuc.de/win.htm

If I was going to write such a tool, I would first call the FolderFind routine above, and then inspect the returned buffer line by line.
If the specific returned line is a file, write it to the first branch of a TreeView and if it is a folder put the returned buffer on hold and call the FolderFind routine again using a buffer with a second name and do the same with this new buffer until the end is reached, and then continue with the first buffer again.

In this way you will be able to fill in rather complex TreeViews. And I really beleive that the author of MemPad has done the coding in a similar way.

Should be interresting to try something like this, but that has to wait till I'm back home again ( in seven weeks). Or maybe you can try a day you become extra inspired??


Regards from Trondheim.

Egil
8
General Questions / Re: Folders and Files
Last post by Brian - April 03, 2024, 07:01:02 AM
Good effort, Egil! But what I really want is for drives and folders to be in their own Treeview control. Anyway, here's your code converted to IWB, if anyone is interested

Brian
9
General Questions / Re: Folders and Files
Last post by Egil - April 02, 2024, 10:24:13 AM
I don't have IWB on this laptop, but I think I have a similar snippet for IWB or EB at home.
But here is the code for CreativeBasic. Should be easy to convert to IWB


Good Luck!
Egil
10
General Questions / Folders and Files
Last post by Brian - April 02, 2024, 08:33:50 AM
Considering what I am doing with my GDI Picture Viewer, in that I am using an external DLL (pbsctrl.dll) to show drives, folders and files, does anyone have the code to do the same thing using Windows API?

There does seem to be some drawbacks in using this DLL, one being the loss of file icons (icon memory running out?), and it not always showing folders properly, ie, hanging up at times

Brian
Pages1 2 3 ... 10