I have a simple frame and want to retrieve & print its size & position
when closing it.
In fact, it is working, but the content of the frame is clobbered:
almost anything in it isn't displayed, just a small square about
20x20 pixels on top-left of the frame.
I have a simple frame and want to retrieve & print its size & position
when closing it.
In fact, it is working, but the content of the frame is clobbered:
almost anything in it isn't displayed, just a small square about
20x20 pixels on top-left of the frame.
So, why is the frame content not displayed?
Why did you not just send us the entire code? There might be 100 things
you are doing wrong. Without a runnable sample, there's no way to
advise you.
My guess, from your description, is that you are not using sizers.
Without sizers, all of your child windows will magnetically attach
themselves to the upper left corner of your window, overwriting one another.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
In fact, it is working, but the content of the frame is clobbered:
almost anything in it isn't displayed, just a small square about
20x20 pixels on top-left of the frame.
So, why is the frame content not displayed?
If you resize the frame manually by dragging the corner with the cursor,
does it display?