Float window in MDI application
Hi!
I write a MDI application to show large images. I also need a windows
to show the overview of whole image. I dont know the best way to do
it.
One thought is build a spliter window, but that will waste some space.
Because the overview is small, for example 128*128, when take a
vertical splitter the remaider space (640-128)*128 will be wasted.
Another is Draw the detail image and then draw the overview on left
upper corner in OnDraw. But in my application, the image is draw by
tile, not in once, so this method can't be accepted.
Third I think is best. A float window always on top of image views, I
can show the overview in it. But i dont' know how to realize it. Is
there any resource and code I can take as a reference?
Any idea?
Thank you!!
Hi!
I write a MDI application to show large images. I also need a windows
to show the overview of whole image. I dont know the best way to do
it.
One thought is build a spliter window, but that will waste some space.
Because the overview is small, for example 128*128, when take a
vertical splitter the remaider space (640-128)*128 will be wasted.
Another is Draw the detail image and then draw the overview on left
upper corner in OnDraw. But in my application, the image is draw by
tile, not in once, so this method can't be accepted.
Third I think is best. A float window always on top of image views, I
can show the overview in it. But i dont' know how to realize it. Is
there any resource and code I can take as a reference?
Any idea?
Thank you!!