IonicWind Software

IWBasic => General Questions => Topic started by: Bruce Peaslee on September 03, 2024, 10:48:54 AM

Title: Wierd Bug
Post by: Bruce Peaslee on September 03, 2024, 10:48:54 AM
I have never seen this problem.

When I try to open a dialog from another one, I get this. I get the same thing if I use the main menu.

I can post the files if needed.Untitled.png
Title: Re: Wierd Bug
Post by: billhsln on September 03, 2024, 02:32:39 PM
Post what you have and I will compile and run on my machine and see what it shows me.  Could be some weird glitch, but I am willing to test it and see if it happens on my machine.  I have win 10 pro and win 11 pro machines, so can test on both and see if the results are different.

Bill
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 03, 2024, 03:27:13 PM
OK.
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 03, 2024, 03:34:57 PM
I had one of the buttons the default. When I took that part out, the problem disappeared. I am still curious if you can see if that was the problem and why.

Thanks.
Title: Re: Wierd Bug
Post by: billhsln on September 03, 2024, 03:50:49 PM
Just ran the exe and got the exact same as you.  Even recompiled and got the same results.

Bill
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 04, 2024, 09:52:38 AM
You can try making the change I made elimating the default style and recompile.
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 04, 2024, 11:46:46 AM
This is crazy. The only new change is to put some text and an image on winMain and the bug is back,
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 04, 2024, 05:48:34 PM
I probably will regret this, but I believe I have solved the problem. I changed the return value of one of the handlers to 0.

The program is not complete yet. I just need to save the new data and work on the cosmetics.

BTW: The image of the car being towed was created by chatGPT. It supposed to be my car (KIA Stinger).
Title: Re: Wierd Bug
Post by: Brian on September 05, 2024, 09:25:22 AM
Bruce,

I have only just seen this, so it has all been done and dusted now - sorry. But I was impressed with how you did the menu shading, so I have 'borrowed' your code for a program of mine, if that's okay

Brian
Title: Re: Wierd Bug
Post by: Bruce Peaslee on September 05, 2024, 09:40:17 AM
You're welcome to anything I post. That has always been the spirit here.
Title: Re: Wierd Bug
Post by: billhsln on September 06, 2024, 03:31:14 PM
I agree with Brian, the menu shading is very nice.  It took me a minute to figure it out.  It went right past me when I pulled the program up to take a look at it.

Bill