ok.. I am trying to change the info on my system tray icon, but don't know how to get the HWND from my project. Here is a bit of info.
I am not changing the info from a place I can get it from easy. So that eliminates m_hWnd. When I try to use AfxGetApp()->GetMainWnd(); It says that, that is a CWnd... not an HWND. Is there any function (like the AfxGetApp) That will let me get the HWND of my applications main window? The icon was created with -GetSafeHwnd();... which is not available from my other class.