Hey,
I have a handle to a program that has a system tray icon. I have checked that the handle is correct and everything and it is. I just need to hide the icon in the tray that that program has put there. I do not want to close this program just hide it.
This is what ive tried:
Code:
HWND hWndA = FindWindow(0, "TNT MSG");
if(hWndA == NULL)
{
MessageBox(hWnd, "Not Found", "", NULL);
}
else
{
ShowWindow(hWndA, SW_HIDE);
}
I just tried ShowWindow() to hide the icon, but i didnt think it would work and it didnt, please let me know how i can do this.
Thanks alot,
TNT