A manufacturer specializing in plastic products

Common problems of the system tray

by:Qusheng     2020-11-11
。 Note: when you use the little icon in the system tray there are two more annoying thing:
the menu might not like usually disappear immediately. This is because from the window of a pop-up receives the message must be the foreground window. Call SetForegroundWindow function can correct the error; After calling the SetForegroundWindow function, you will notice the first time the popup menu will pop up and normal work very well. But then, the menu is only a pop-up immediately disappeared. According to the MSDN, do this intentionally. In order to make the popup menu hold, is must request a switch to the program's main window. You can send any message to the program's window to forced to switch from the task. Be careful to use PostMessage not SendMessage.
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...