May 04, 2024, 11:52:41 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: GDI Help - sorry, I posted...
Last post by Egil - March 23, 2024, 05:35:49 AM
Hi Brian!
It's nice to see that you have been rather busy when I have been away.
I'm still unable to use IWB, so glad you also included the exe file.
So far your program looks great, but here my laptop gives an error every ntime I start your program, and when i click "OK" in the error box your program starts, and appears to work as intended.
I'll check your code later, but there must be something in the file loading routine that my pc don't like.
Anhow, I really like what you have done so far!  :)


Egil
22
General Questions / GDI Picture Viewer
Last post by Brian - March 22, 2024, 10:09:06 AM
Okay, here is my very simple GDI picture viewer. A bit to do on it yet, like resizing a picture that is too big to fit in the client area; maybe more info about a picture's quality, etc; change the statusbar to more meaningful output; add a menu. Things to do as I get the inspiration!

Currently it will load BMP, GIF, JPG, JPEG, PNG, TIF, TIFF and ICO formats, and display them
There is a filter in place so that the File Listbox only displays those formats
I have zipped up some images for you to test

You will have to generate a lib from the Pbsctrl.dll

Brian
23
General Questions / Re: GDI Help - sorry, I posted...
Last post by Brian - March 21, 2024, 10:22:22 AM
Larry,

I am getting a result now, using WSTRING and S2W, and a bit of calafudging. Then I found out that you can "Dispose" and "Delete" a GDI-drawn image, but it doesn't delete it from the screen, so all the images pile on top of one another. Working on that now, and getting somewhere. Then it will be a look at what happens when you resize the window. . . .

Brian
24
General Questions / Re: GDI Help - sorry, I posted...
Last post by LarryMc - March 21, 2024, 08:52:10 AM
How did you define the variable "LvariableName"?
25
General Questions / GDI Help - sorry, I posted the...
Last post by Brian - March 20, 2024, 10:24:17 AM
I'm trying to replace the "mushroom.gif" part of this GDI call with a variable:
   result=GdipLoadImageFromFile(L"mushroom.gif",pImage)

Like so:
   result=GdipLoadImageFromFile(LvariableName,pImage)

but it doesn't like it all. Any ideas?

Out of interest, I am putting together a GDI image viewer, and this is my only stumbling-block at the moment. There will be others, no doubt, but this is the main one

Brian
26
GUI Central / Re: Preview Images from dialog
Last post by LarryMc - March 16, 2024, 10:47:30 AM
Nice work Brian
27
GUI Central / Re: Preview Images from dialog
Last post by Brian - March 16, 2024, 09:11:06 AM
I managed to get it working properly!

Brian
28
User Offerings / Re: Tablets Database
Last post by Brian - March 02, 2024, 04:34:28 AM
Updated Tablets.iwb uploaded in the previous post

Brian
29
Console Corner / Getting Elapsed Days
Last post by Brian - February 28, 2024, 05:33:41 AM
Hi,

As part of one of my current programs, I needed to calculate the number of days between certain dates. I have set up a program derived from another called Date_Routines.iwb (attached) and called it Elapsed.iwb, also attached

Put your own DoB in to see how many days you have lived at Line 31

Brian
30
Music and Sound / Harmonica Tablature
Last post by Brian - February 21, 2024, 09:34:38 AM
Hi,

Just converted one of GWS' programs from CBA to IWB. Seems to have converted okay, but don't ask me how it works, I only sing in the bath!

Brian
Pages 1 2 3 4 5 ... 10