Creating icon in taskbar
-
Hello All, I wanted to create an application which do something, say popup message box after every 10 min. I wanted to create MFC application.And wanted to show running application icon in task bar (near clock). What should I do. Can you please suggest similar and how can I achieve same with C#? Regards.
-
Hello All, I wanted to create an application which do something, say popup message box after every 10 min. I wanted to create MFC application.And wanted to show running application icon in task bar (near clock). What should I do. Can you please suggest similar and how can I achieve same with C#? Regards.
This link will help you. Adding Icons to the System Tray[^]
Every new day is another chance to change your life.
-
Hello All, I wanted to create an application which do something, say popup message box after every 10 min. I wanted to create MFC application.And wanted to show running application icon in task bar (near clock). What should I do. Can you please suggest similar and how can I achieve same with C#? Regards.
CWnd::SetTimer allows you to : say popup a message box every 10 min. just put relevant code in CWnd::OnTimer
void CMainFrame::OnStartTimer()
{
m_nTimer = SetTimer(1, 2000, 0);
}void CMainFrame::OnStopTimer()
{
KillTimer(m_nTimer);
}void CMainFrame::OnTimer(UINT nIDEvent)
{
MessageBeep(0xFFFFFFFF); // Beep
MessageBox(HWND_DESKTOP,"Text here","Text here",MB_OK);
// Call base class handler.
CMDIFrameWnd::OnTimer(nIDEvent);
} -
Hello All, I wanted to create an application which do something, say popup message box after every 10 min. I wanted to create MFC application.And wanted to show running application icon in task bar (near clock). What should I do. Can you please suggest similar and how can I achieve same with C#? Regards.
C# code here