<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTTrayIc&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTTrayIc&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 12:36:39 +0000</pubDate>
  <lastBuildDate>Wed, 27 Oct 2004 14:08:38 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=1318</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTTrayIc&#111;n : 2004-10-27_140819_ti.zip you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3722&amp;title=cxttrayicon#3722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1318<br /><strong>Posted:</strong> 27 October 2004 at 2:08pm<br /><br /><P><A href="https://forum.codejock.com/uploads/oleg/2004-10-27_140819_ti.zip" target="_blank">2004-10-27_140819_ti.zip</A></P><P>you need to override CreateMinimizeWnd. see sample.</P>]]>
   </description>
   <pubDate>Wed, 27 Oct 2004 14:08:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3722&amp;title=cxttrayicon#3722</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTrayIc&#111;n : What doesn&amp;#039;t work? Set break...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3712&amp;title=cxttrayicon#3712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1318<br /><strong>Posted:</strong> 26 October 2004 at 11:36pm<br /><br /><P>What doesn't work? Set break after </P><P><FONT color=#0000ff>if</FONT><FONT size=2> (hWndPrevious)</FONT></P><P><FONT size=2>hWndPrevious&nbsp;!= NULL ?</FONT></P>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 23:36:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3712&amp;title=cxttrayicon#3712</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTrayIc&#111;n : Above code is not working I am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3693&amp;title=cxttrayicon#3693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=792">manoj</a><br /><strong>Subject:</strong> 1318<br /><strong>Posted:</strong> 26 October 2004 at 7:40am<br /><br /><P>Above code is not working</P><P>I am doing this</P><P>in main dialog class<BR><FONT color=#008000 size=2></P><P> //////////////////////////////////////////////////////////// //////////////<BR></FONT><FONT color=#008000 size=2>//System Tray<BR><BR></FONT><FONT size=2><FONT size=2></P><P>CXTTrayIcon m_TrayIcon;</P><P><BR></FONT>m_TrayIcon.Create( LoadString(IDS_APP_NAME),</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2> ,IDR_MAINFRAME,IDR_MENU_SYSTEMTRAY,ID_SYSTEMTRAY_SHOWMAINWIN DOW);<BR>m_TrayIcon.HideIcon();</FONT></P><P><FONT size=2>In initInstanece Function<BR></FONT></P><FONT size=2><FONT size=2><P>{</P><P>CString strClassName;</P><P>strClassName.LoadString(IDS_APP_TITLE);</P><P>HWND hWndPrevious = ::FindWindow("#32770", strClassName);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (hWndPrevious)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (::IsIconic(hWndPrevious))</P><P>::ShowWindow(hWndPrevious,SW_RESTORE );</P><P>::SetForegroundWindow(::GetLastActivePopup (hWndPrevious));</P><P>} </P><P>}</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE; </P></FONT></FONT><P><FONT size=2>this problem occur if i am using <FONT size=2>CXTTrayIcon</FONT></FONT></P><P><FONT size=2><FONT size=2>If I use SDK then above function is working perfectly</P><P></FONT>Please reply ASAP</P></FONT>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 07:40:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3693&amp;title=cxttrayicon#3693</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTrayIc&#111;n : Something like: BOOL CYourApp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3688&amp;title=cxttrayicon#3688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1318<br /><strong>Posted:</strong> 26 October 2004 at 6:52am<br /><br /><P>Something like:</P><P>BOOL CYourApp::OneInstance(CCommandLineInfo&amp; cmdInfo)<BR>{<BR>&nbsp;HANDLE hSem = CreateSemaphore(NULL, 1, 1, m_pszAppName);</P><P>&nbsp;if (GetLastError() == ERROR_ALREADY_EXISTS &amp;&amp; CMainFrame::m_bOneInstance)<BR>&nbsp;{<BR>&nbsp;&nbsp;CloseHandle(hSem);</P><P>&nbsp;&nbsp;HWND hWndPrevious = ::FindWindow("You_Dialog_Class", NULL);<BR>&nbsp;&nbsp;if (hWndPrevious)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;if (::IsIconic(hWndPrevious))<BR> &nbsp;&nbsp;&nbsp;&nbsp;::ShowWindow(hWndPrevious,SW_RESTORE );<BR>&nbsp;&nbsp;&nbsp;<BR> &nbsp;&nbsp;&nbsp;::SetForegroundWindow(::GetLastActivePopup (hWndPrevious));<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}&nbsp;<BR>&nbsp;} </P><P>&nbsp;return TRUE;</P><P>}</P><P>in BOOL CYourApp::InitInstance():</P><P>&nbsp;</P><P>&nbsp;CCommandLineInfo cmdInfo;<BR>&nbsp;ParseCommandLine(cmdInfo);</P><P>&nbsp;if (!OneInstance(cmdInfo))<BR>&nbsp;&nbsp;return FALSE;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 06:52:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3688&amp;title=cxttrayicon#3688</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTrayIc&#111;n : I am using CXTTrayIcon in my dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3687&amp;title=cxttrayicon#3687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=792">manoj</a><br /><strong>Subject:</strong> 1318<br /><strong>Posted:</strong> 26 October 2004 at 6:15am<br /><br /><P>I am using CXTTrayIcon in my dialog based application. My version XTToolkit is 9</P><P>I want to Maximize my application by another instace of application.</P><P>simply i dont want to multiple instance of application if first one is system tray then application should maximized.</P><P>pls reply ASAP</P><P>Manoj</P>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 06:15:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1318&amp;PID=3687&amp;title=cxttrayicon#3687</guid>
  </item> 
 </channel>
</rss>