| || |
How to set identify objects to false in minimized
I encountered a situation where i need to verify the existence of the objects when a frame in minimized or maximized.
I have a frame with some objects and a minimize button.I need to verify the existence of the objects
1. as TRUE when the frame is maximized
2. as FALSE when the frame is minimized.
But when i tried to capture objects in both the modes (minimized and maximized).I am able to see all the objects of the frame.
Is there any way to verify the existence of the objects to false when the window is minimized and to true when the window is maximized.
Re: How to set identify objects to false in minimi
Look into IsVisible () function that might help you and into <your window>.GetState ()
GetState will tell you if window under question is minimized or maximized.
hope this helps.
Re: How to set identify objects to false in minimized
Your logic: objects that exist on the maximized frame cease to exist when the frame is minimized is wrong. In fact objects will continue to exist even , if the frame(window) is minimized.