<?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 : Can I popup a commandbarpopup at mouse location?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Can I popup a commandbarpopup at mouse location?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 23:37:49 +0000</pubDate>
  <lastBuildDate>Fri, 14 Nov 2008 12:20:49 +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=12682</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[Can I popup a commandbarpopup at mouse location? : Forget it - I&amp;#039;ve worked it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12682&amp;PID=42869&amp;title=can-i-popup-a-commandbarpopup-at-mouse-location#42869</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1630">LeeHayton</a><br /><strong>Subject:</strong> 12682<br /><strong>Posted:</strong> 14 November 2008 at 12:20pm<br /><br />Forget it - I've worked it out -With a Gallery To Boot. <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"><DIV>&nbsp;</DIV><DIV>Here's the code if anyone is interested.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Lee</DIV><DIV>&nbsp;</DIV><DIV>Dim cbSubmissions As CommandBar<BR>Const ID_GallerySubmissionslery_Submissions = 1</DIV><DIV>Private Sub Form_Load()</DIV><DIV>Dim cbb As CommandBarButton</DIV><DIV>With CommandBars1<BR>&nbsp;&nbsp;&nbsp; .VisualTheme = xtpThemeOffice2007<BR>&nbsp;&nbsp;&nbsp; .ActiveMenuBar.Delete<BR>&nbsp;&nbsp;&nbsp; '.AddImageList ImageList1<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set cbSubmissions = .Add("Submissions Popup", xtpBarPopup)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With cbSubmissions</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim GallerySubmissions As CommandBarGallery, GallerySubmissionsItems As CommandBarGalleryItems<BR>&nbsp;&nbsp;&nbsp; Set GallerySubmissions = .Controls.Add(xtpControlGallery, ID_GallerySubmissions, "GallerySubmissionslery")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissions.ShowBorders = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissions.Style = xtpButtonIconAndCaption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissions.Resizable = xtpAllowResizeHeight<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'GallerySubmissions.Height = 100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set GallerySubmissionsItems = CommandBars1.CreateGalleryItems(ID_GallerySubmissions)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.ItemWidth = 100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddLabel "Submissions"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddItem 1, "01/01/2008 14:54"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddItem 2, "01/01/2008 15:00"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddItem 3, "01/01/2008 15:14"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddItem 4, "01/01/2008 16:09"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GallerySubmissionsItems.AddItem 5, "01/01/2008 17:36"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set GallerySubmissions.Items = GallerySubmissionsItems<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; End With</DIV><DIV>End With</DIV><DIV>End Sub</DIV><DIV>Private Sub DatePicker1_SelectionChanged()<BR>&nbsp;&nbsp;&nbsp; Dim Response As Integer<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response = cbSubmissions.ShowPopup '(TPM_RETURNCMD Or TPM_RECURSE)<BR>End Sub<BR></DIV>]]>
   </description>
   <pubDate>Fri, 14 Nov 2008 12:20:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12682&amp;PID=42869&amp;title=can-i-popup-a-commandbarpopup-at-mouse-location#42869</guid>
  </item> 
  <item>
   <title><![CDATA[Can I popup a commandbarpopup at mouse location? : I want to click on a control (Calendar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12682&amp;PID=42863&amp;title=can-i-popup-a-commandbarpopup-at-mouse-location#42863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1630">LeeHayton</a><br /><strong>Subject:</strong> 12682<br /><strong>Posted:</strong> 14 November 2008 at 7:15am<br /><br />I want to click on a control (Calendar day or commandbutton) and display a popup menu with 2 or 3 items on it.&nbsp; Can I do this using the CommandBarPopup control as opposed to the standard menu that comes with Visual Basic - for 2 reasons - the Codejock commandbar looks nicer and the VB menu causes problems with screen layout of MDI children in my app.<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>So basically - can you popup a menu (like popupmenu x in VB) with&nbsp;the Codejock commandbar control - if so - how?<DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Lee</DIV>]]>
   </description>
   <pubDate>Fri, 14 Nov 2008 07:15:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12682&amp;PID=42863&amp;title=can-i-popup-a-commandbarpopup-at-mouse-location#42863</guid>
  </item> 
 </channel>
</rss>