<?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 : SuiteCtrls WTL Sample</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : SuiteCtrls WTL Sample]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 21:54:56 +0000</pubDate>
  <lastBuildDate>Sat, 04 Jun 2005 23:33:29 +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=2283</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[SuiteCtrls WTL Sample : Thanks! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6891&amp;title=suitectrls-wtl-sample#6891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 04 June 2005 at 11:33pm<br /><br />Thanks!]]>
   </description>
   <pubDate>Sat, 04 Jun 2005 23:33:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6891&amp;title=suitectrls-wtl-sample#6891</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : I&amp;#039;ve never used the short...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6819&amp;title=suitectrls-wtl-sample#6819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 30 May 2005 at 11:40am<br /><br /><P>I've never used the short cut bar but it looks like you need to do something like:</P><P>IShortcutBarItemPtr item = m_spShortCutBar-&gt;AddItem(1,_T("This"), hwnd() );</P><P>item-&gt;Caption = _T("New caption");</P><P>Where hwnd() is the window handle for the wndow to display in the client area.&nbsp; (From the help file "<I>hWnd</I> </P><DD>Child window associated with the shortcut, this window will be displayed in the client pane when clicked. " ).</DD><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 30 May 2005 11:40:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6819&amp;title=suitectrls-wtl-sample#6819</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Hi, James: My code is: if (!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6796&amp;title=suitectrls-wtl-sample#6796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 28 May 2005 at 1:43am<br /><br /><P>Hi, James:</P><P>My code is:</P><P>&nbsp;&nbsp;if (!SUCCEEDED(AtlAxCreateControlEx(<BR> &nbsp;&nbsp;&nbsp;OLESTR("{95E24DB0-1BBC-4411-BA54-204565E95 4AE}"),<BR>&nbsp;&nbsp;&nbsp;(HWND)m_spShortCutBar-&gt;GethWnd(),<BR>&nbsp;&nbsp;&nbsp;NULL,<BR>&nbsp;&nbsp;&nbsp;NULL,<BR>&nbsp;&nbsp;&nbsp;&amp;m_spShortCut,<BR>&nbsp;&nbsp;&nbsp;IID_NULL, NULL)))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}</P><P>&nbsp;&nbsp;if  (!SUCCEEDED(m_spShortCut.QueryInterface(&amp;m_spShortCutBar Caption)))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}</P><P> &nbsp;&nbsp;m_spShortCutBarCaption-&gt;PutCaption(_T("Test!" ));</P><P>but the following line doesn't work, because the AddItem's 3rd argument&nbsp; needs a HWND</P><P> //m_spShortCutBar-&gt;AddItem(1,_T("This"),m_spShortCutBarCa ption);</P><P>What can I do?</P><P>thanks!</P><P>Burns</P>]]>
   </description>
   <pubDate>Sat, 28 May 2005 01:43:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6796&amp;title=suitectrls-wtl-sample#6796</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Hello Burns, Unfortunately I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6793&amp;title=suitectrls-wtl-sample#6793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 27 May 2005 at 12:05pm<br /><br /><P>Hello Burns,</P><P>Unfortunately I don't use the shortcut bar.. what can't you get working with the shortcut caption?&nbsp; Do you have a code segment you could post?</P><P>- James</P>]]>
   </description>
   <pubDate>Fri, 27 May 2005 12:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6793&amp;title=suitectrls-wtl-sample#6793</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Hi, James: I have figured out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6791&amp;title=suitectrls-wtl-sample#6791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 27 May 2005 at 10:59am<br /><br /><P>Hi, James:</P><P>I have figured out above problem!</P><P>but I cann't&nbsp;make the ShortcutCaption working&nbsp;in the ShortcutBar&nbsp; like the VB </P><P>Sample ShutcutBar does! Any idea?</P><P>thanks a lot!!</P><P>Burns</P>]]>
   </description>
   <pubDate>Fri, 27 May 2005 10:59:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6791&amp;title=suitectrls-wtl-sample#6791</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Hi, James: I have another problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6790&amp;title=suitectrls-wtl-sample#6790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 27 May 2005 at 9:25am<br /><br /><P>Hi, James:</P><P>I have another problem to need your help.</P><P>I want to add a view to the ShortCutBar like this:</P><P>HWND d = m_view.Create((HWND)m_spShortCutBar-&gt;GethWnd(), rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE);<BR>&nbsp;&nbsp;m_spShortCutBar-&gt;Selected = m_spShortCutBar-&gt;AddItem(1,_T("Test"),(long)d);</P><P>But it doesn't work!</P><P>thanks!</P><P>burns</P>]]>
   </description>
   <pubDate>Fri, 27 May 2005 09:25:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6790&amp;title=suitectrls-wtl-sample#6790</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Sorry, I&amp;#039;m using VC 6 and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6779&amp;title=suitectrls-wtl-sample#6779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 26 May 2005 at 11:31am<br /><br /><P>Sorry, I'm using VC 6 and don't see any of those problems.&nbsp; Perhaps someone else or someone from codejock can help you out.</P><P>- James</P>]]>
   </description>
   <pubDate>Thu, 26 May 2005 11:31:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6779&amp;title=suitectrls-wtl-sample#6779</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : It is right!! Thank you, JamesH! I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6763&amp;title=suitectrls-wtl-sample#6763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 25 May 2005 at 7:23pm<br /><br /><P>It is right!! Thank you, JamesH!</P><P>I have another question about your two wtl samples;</P><P>I always got the exceptions like this this:(vs.net2003, <SPAN =highlight>wtl</SPAN>75_5102)</P><P>Microsoft C++ exception: COleException @ 0x0012e210 &#12290;<BR>Microsoft C++ exception: COleException @ 0x0012e210 &#12290;<BR>&nbsp;Microsoft C++ exception: COleException @ 0x0012e204 &#12290;<BR>Microsoft C++ exception: COleException @ 0x0012e1e8 &#12290;</P><P>How can i correct this problem?</P><P>thanks!</P>]]>
   </description>
   <pubDate>Wed, 25 May 2005 19:23:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6763&amp;title=suitectrls-wtl-sample#6763</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Unfortunatley I don&amp;#039;t think...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6760&amp;title=suitectrls-wtl-sample#6760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 25 May 2005 at 11:07am<br /><br /><P>Unfortunatley I don't think there is a WTL example, afaik there are only 2 WTL examples included.</P><P>I don't know if this will help or not, but this is the .h file I use to import the suite controls:</P><P>#include "stdafx.h"</P><P>#include &lt;atlbase.h&gt;</P><P>#include &lt;atlcom.h&gt;<BR>#include &lt;atlhost.h&gt;<BR>#include &lt;atlwin.h&gt;<BR>#include &lt;atlctl.h&gt;</P><P>#import "olepro32.dll" no_auto_exclude</P><P>#import "C:\WINDOWS\system32\stdole2.tlb" rename("OLE_HANDLE", "XTP_OLE_HANDLE"), rename("OLE_COLOR", "XTP_OLE_COLOR"), rename("OLE_XPOS_PIXELS", "XTP_OLE_XPOS_PIXELS"), rename("OLE_YPOS_PIXELS", "XTP_OLE_YPOS_PIXELS"), rename("DISPPARAMS", "XTP_DISPPARAMS"), rename("EXCEPINFO", "XTP_EXCEPINFO"), rename("GUID", "XTP_GUID")<BR>using namespace stdole;</P><P>#undef DT_TOP<BR>#undef DT_LEFT<BR>#undef DT_CENTER<BR>#undef DT_RIGHT<BR>#undef DT_VCENTER<BR>#undef DT_BOTTOM<BR>#undef DT_WORDBREAK<BR>#undef DT_SINGLELINE<BR>#undef DT_END_ELLIPSIS</P><P>#import "Codejock.SuiteCtrls.9700.ocx"<BR>using namespace XtremeSuiteControls;</P>]]>
   </description>
   <pubDate>Wed, 25 May 2005 11:07:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6760&amp;title=suitectrls-wtl-sample#6760</guid>
  </item> 
  <item>
   <title><![CDATA[SuiteCtrls WTL Sample : Where are there the SuiteCtrls...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6757&amp;title=suitectrls-wtl-sample#6757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1193">burns7975</a><br /><strong>Subject:</strong> 2283<br /><strong>Posted:</strong> 25 May 2005 at 8:39am<br /><br /><P>Where are there the SuiteCtrls WTL samples? When I import the&nbsp;Codejock.SuiteCtrls.9510.ocx I always get a long error list!!</P><P>thanks!</P><P>burns7975</P>]]>
   </description>
   <pubDate>Wed, 25 May 2005 08:39:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2283&amp;PID=6757&amp;title=suitectrls-wtl-sample#6757</guid>
  </item> 
 </channel>
</rss>