Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System tray wierdness
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00902535
Message ID:
00902812
Views:
8
Hello Steven,

I also saw similar problems, but did not investigate it as far as you did to determine the minimize/sleep aspect. I just stopped using it since it was not critical to my app. But based on your info, you might try just moving the screen off the desktop (top=-1000) instead of minimizing to see if it solves the problem. Since I saw this behavior immediatly and got no response on my post about this (months ago) I assume not many people are using it.

Bob

>I am having some strange behavior with a system tray routine. After activating it it appears to work properly sending the proper messages to the application (maximizing it, sending tray menu selections to the app for processing, etc.) - all is normal. But...
>
>Minimize the application for a while (times vary but I can generally reproduce it if I leave it alone for a half hour as many of my clients are apt to do) and it seems that the application 'goes to sleep'. I can confirm that the systray object is sending proper messages to the application through the windows api; however, the application does not appear to process them UNLESS I can restore it and get the mouse over it (so the windows mouse api methods fire I guess).
>
>Has anyone seen this behavior in a systray/application connected system? It all seems pretty straightforward in the code. It's as if there is something in the application that stops processing windows api stuff until it gets focus again - catch 22.
>
>Anyway, hope someone has seen this before and knows what I'm talking about.
>
>Thanks,
>
>Steven Supinski
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Reply
Map
View

Click here to load this message in the networking platform