<?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 : Contextmenu with TabWorkspace?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Contextmenu with TabWorkspace?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 06:35:18 +0000</pubDate>
  <lastBuildDate>Mon, 18 Sep 2006 04:17:06 +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=5058</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[Contextmenu with TabWorkspace? : Hey,   thanks for your quick...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15783&amp;title=contextmenu-with-tabworkspace#15783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 5058<br /><strong>Posted:</strong> 18 September 2006 at 4:17am<br /><br />Hey, <DIV>&nbsp;</DIV><DIV>thanks for your quick reply!</DIV><DIV>&nbsp;</DIV><DIV>I got it working in my C# project.</DIV><DIV>&nbsp;</DIV><DIV>However, is there any way I can query the X and Y coords of the mouse cursor within C#?</DIV><DIV>&nbsp;</DIV><DIV>Because now I use unmanaged code using the imported GetCursorPos API function, and I'd rather not use unmanaged code....</DIV><DIV>&nbsp;</DIV><DIV>Edit: Or better yet, keep the popup "attached" to the tab, so that when I rightclick it on a non-active tab it doesn't show there, but on the active tab. Hope I make sense <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>TIA,</DIV><DIV>mace</DIV>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 04:17:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15783&amp;title=contextmenu-with-tabworkspace#15783</guid>
  </item> 
  <item>
   <title><![CDATA[Contextmenu with TabWorkspace? : Catch the RClick event of the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15751&amp;title=contextmenu-with-tabworkspace#15751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 5058<br /><strong>Posted:</strong> 15 September 2006 at 4:42pm<br /><br />Catch the RClick event of the tabbed workspace, then you can display a popup.&nbsp; Here is the VB6 code....<br><br>Private Sub Workspace_RClick(ByVal Item As XtremeCommandBars.ITabControlItem)<br>&nbsp;&nbsp;&nbsp; If Not Item Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print Item.Caption<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Selected = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Workspace.Refresh<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Popup As CommandBar<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Popup = CommandBars.Add("Popup", xtpBarPopup)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With Popup.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_NEW_FILE, "&amp;New", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_CLOSE, "Close", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, 35002, "&amp;Workspace Actions")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Popup.ShowPopup<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Workspace.Refresh<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br>]]>
   </description>
   <pubDate>Fri, 15 Sep 2006 16:42:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15751&amp;title=contextmenu-with-tabworkspace#15751</guid>
  </item> 
  <item>
   <title><![CDATA[Contextmenu with TabWorkspace? : Hello,   we are using version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15726&amp;title=contextmenu-with-tabworkspace#15726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 5058<br /><strong>Posted:</strong> 15 September 2006 at 8:34am<br /><br />Hello, <DIV>&nbsp;</DIV><DIV>we are using version v10.1 of the ActiveX toolkit in a C# environment.</DIV><DIV>&nbsp;</DIV><DIV>We have created a tabbed MDI interface and now we want to right click a tab so we can show a popmenu/contextmenu with for example a Close option, so we can close the current selected tab.</DIV><DIV>&nbsp;</DIV><DIV>Can anyone tell me if and how we can accomplish this?</DIV><DIV>&nbsp;</DIV><DIV>Thanks very much.</DIV><DIV>&nbsp;</DIV><DIV>Cheers,</DIV><DIV>Martin</DIV>]]>
   </description>
   <pubDate>Fri, 15 Sep 2006 08:34:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5058&amp;PID=15726&amp;title=contextmenu-with-tabworkspace#15726</guid>
  </item> 
 </channel>
</rss>