October 28, 2025, 02:02:26 AM

News:

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


Wierd Bug

Started by Bruce Peaslee, September 03, 2024, 10:48:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

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
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

billhsln

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
When all else fails, get a bigger hammer.

Bruce Peaslee

Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Bruce Peaslee

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.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

billhsln

September 03, 2024, 03:50:49 PM #4 Last Edit: September 03, 2024, 10:05:19 PM by billhsln
Just ran the exe and got the exact same as you.  Even recompiled and got the same results.

Bill
When all else fails, get a bigger hammer.

Bruce Peaslee

You can try making the change I made elimating the default style and recompile.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Bruce Peaslee

This is crazy. The only new change is to put some text and an image on winMain and the bug is back,
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Bruce Peaslee

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).
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Brian

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

Bruce Peaslee

You're welcome to anything I post. That has always been the spirit here.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

billhsln

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
When all else fails, get a bigger hammer.