System tray
-
I have a application, where on clicking on minimize button it should minimise to system tray and on clicking right button it should pop up a menu. Get i have that piece of code. void CXTransferDlg::OnSysCommand(UINT nID, LPARAM lParam) { DWORD dwMsg = NIM_ADD; if (nID == SC_MINIMIZE) {} where i need to add the piece of code in the minimize loop
-
I have a application, where on clicking on minimize button it should minimise to system tray and on clicking right button it should pop up a menu. Get i have that piece of code. void CXTransferDlg::OnSysCommand(UINT nID, LPARAM lParam) { DWORD dwMsg = NIM_ADD; if (nID == SC_MINIMIZE) {} where i need to add the piece of code in the minimize loop
Please don't cross post (post the same question at multiple places). I saw your later post in QA To minimize the app in system tray with menu[^] first and answered there.