Click here to Skip to main content
11,642,402 members (64,719 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC
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.
Posted 4-Mar-13 22:35pm
Comments
Richard MacCutchan at 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 at 6-Mar-13 12:15pm
   
my project is more than 300MB and become larger and I don't change any onsyscommand function.
Richard MacCutchan at 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 at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 5 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100