Click here to Skip to main content
15,797,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I clicked minimize box, the app minimized to tray bar, but when I click app tray icon, it doesn't response onsyscommand, then I right click tray icon, popup menu, and click minimize or maximize,it works fine. I just need to know why and how to fix it.
Richard MacCutchan 5-Mar-13 5:50am    
Without seeing some of your code it's not possible to guess what may be happening. Please edit your question and add some more detailed information.
Member 9344986 6-Mar-13 12:15pm    
my project is more than 300MB and become larger and I don't change any onsyscommand function.
Richard MacCutchan 6-Mar-13 12:19pm    
Well I'm afraid that information does not help us at all. I can only suggest that you get with your debugger, or add some trace code into your project.
Michael Haephrati 9-Mar-13 14:24pm    
You need to create a proper event loop, otherwise you will not get any signals when the end user presses your menu options. Please add your main routine and event loop

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900