May 26, 2024, 04:31:44 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Recent posts

Pages 1 2 3 4 5 ... 10
21
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
22
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
23
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
24
General Questions / GDI Picture Viewer
Last post by Brian - April 01, 2024, 04:03:00 AM
Sorry about this, but while I was giving the program a good run through yesterday, I found it was hanging up at times when changing to different directories

I think I have fixed the problem, so please use this version instead

Brian
25
General Questions / GDI Picture Viewer
Last post by Brian - March 30, 2024, 06:30:25 AM
OK, couldn't resist! Now when the window is resized, the loaded image is redrawn to fit the window. Before, you had to first click a filename, resize your window, and then click the filename again

Bit of slight flickering going on, but I can live with that. Very easy fix, as well

Exe and source code in the zip

Brian
26
General Questions / GDI Picture Viewer
Last post by Brian - March 28, 2024, 10:41:47 AM
I think I have taken this program as far as I want, so I doubt I will be doing any more on it. Don't fancy having to learn more of the hundreds of GDI calls, really!

Added bitmaps to the menus
Added an About box
Added more file info into the Statusbar
Slight update to the image proportion code
Exe included

Brian
27
General Questions / Re: Accessing hidden directori...
Last post by billhsln - March 27, 2024, 10:33:39 AM
I figured it out, I have to run the program as the Administrator, and it works fine.  Now all I need to do is complete the program.

Bill
28
General Questions / GDI Picture Viewer
Last post by Brian - March 25, 2024, 08:13:22 AM
Sorted the proportionate sizing of images, so if an image will fit in the window, no resizing is done; if the image is too big to fit in the window, then it is proportionately resized. Code and exe in the zip

Brian
29
General Questions / GDI Picture Viewer
Last post by Brian - March 25, 2024, 06:01:10 AM
Update:

Added EMF and WMF filetypes as allowed formats
Added a menu for later additions
Changed the main program icon
Coloured the statusbar, and added an icon
Added image horizontal and vertical resolutions to the statusbar
Added VERSIONINFO into the resource (.rc) file

Removed previous upload, as the program is now a Project

Brian
30
General Questions / Re: GDI Help - sorry, I posted...
Last post by Egil - March 24, 2024, 09:45:28 AM
Came home late friday night, but going back after Easter.
Had just started looking at your code in Notepad when I decided to check the Forum.
Just deleted the included ini file, and the error was gone!
Never used GDI myself, so will study your code to see how it is done.

All the best!
Egil
Pages 1 2 3 4 5 ... 10