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.
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
OK.
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.
Just ran the exe and got the exact same as you. Even recompiled and got the same results.
Bill
You can try making the change I made elimating the default style and recompile.
This is crazy. The only new change is to put some text and an image on winMain and the bug is back,
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,
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
You're welcome to anything I post. That has always been the spirit here.
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