![]() |
CXTTrayIcon |
Post Reply
|
| Author | |
manoj
Newbie
Joined: 26 October 2004 Location: India Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTTrayIconPosted: 26 October 2004 at 7:55am |
|
I want to Maximize my application from system tray by another instance of application. in main dialog class //////////////////////////////////////////////////////////// ////////////// CXTTrayIcon m_TrayIcon;
In initInstanece Function { CString strClassName; strClassName.LoadString(IDS_APP_TITLE); HWND hWndPrevious = ::FindWindow("#32770", strClassName); if (hWndPrevious){ if (::IsIconic(hWndPrevious))::ShowWindow(hWndPrevious,SW_RESTORE ); ::SetForegroundWindow(::GetLastActivePopup (hWndPrevious)); } } return FALSE;this problem occur if i am using CXTTrayIcon If I use SDK then above function is working perfectly Please reply ASAP |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |