|
I am not totally sure but that mean window no longer exists. It was deleted when application was minimized.
-Saurabh
|
|
|
|
|
Did you try to enumerate child windows of system tray using FindWindowEx.
-Saurabh
|
|
|
|
|
Same result as FindWindow, If it is in system tray FindWindowEx is not detecting it. Is there any workaround?
|
|
|
|
|
Are you sure window exists? I just tried with one of my own application and even after minimizing window to system tray I can get HWND using FindWindow(NULL, "Window Name"). I think the application is deleting the window before minimizing or may be it is changing the window caption.
-Saurabh
|
|
|
|
|
If window is deleting then how come it is getting maximize on double click on system tray icon?
|
|
|
|
|
In my applications I hide windows when minimized to system tray but one also choose to delete all windows and the re-create them every time application needs to show a window again.
-Saurabh
|
|
|
|
|
You mean to say, If a minimise window to system tray it is getting deleted automatically.
|
|
|
|
|
No of course not. Application should be doing it. Is the application for which you are trying to find window written by you?
-Saurabh
|
|
|
|
|
|
Have you tried FindWindow[Ex] when the application is maximized.
|
|
|
|
|
Yes, I am getting when app is maximized.
|
|
|
|
|
Well, What you are doing in "minimising to system tray" to the application.
|
|
|
|
|
I am using a 3rd party class to minimise it like:
m_TrayIcon.MinimizeToTray(this);//CMainFrame
|
|
|
|
|
pther wrote: 3rd party class
get help from it.
Have a look at ShellTrayInfo[^] to get HWND for the tray icon
|
|
|
|
|
Did you try with EnumWindows?
|
|
|
|
|
Then you are doing something wrong, as both FindWindow() and FindWindowEx() work even if the window being sought is in the taskbar notification area.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
I am doing a project on idnetifying objects in a scene from ip camera.how could i identify an object(extract an object) from a frame.Is there any algorithms? What all attributes are required to identify an object?
Please reply.
Thanks.
|
|
|
|
|
|
Thank you for the help.I would like to explain some more problems in my project. I have to identify an object in a scene.As you have mentioned , I am using OpenCV.
I have gone through the samples in it. I would like to know if there are any methods to identify an object. I am doing my project in VC++.
It is an application based on IP camera.
Please reply.
Thanks in advance.
|
|
|
|
|
The main problem is in defining what is an object? Once you can answer that than only you can extract it from the image.
Saurabh
|
|
|
|
|
Sir,
What i have to do is a theft detection project.For that I have to identify and mark objects present in the scene.I have to also define a region of interest.I use VC++ and OpenCV.Please do help me by providing the essentials.
Thanks in advance.
|
|
|
|
|
Can anybody tell me what is an interface class and how can we implement it.what is the difference between using an abstract class and an interface
|
|
|
|
|
Deepu Antony wrote: Can anybody help me
Read Here[^] to gain an insight on abstract class and interface.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
|
Hi,
We have created three text files through our application. We have to open that three text files in separate worksheets in a excel file. Please suggest your ideas.
With Regards,
Sangeetha.
|
|
|
|