<?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 : Popup Positioning</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Popup Positioning]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:15:41 +0000</pubDate>
  <lastBuildDate>Mon, 09 Jun 2008 12:22:02 +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=10967</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[Popup Positioning : I am calling CXTPPopupBar::Popup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10967&amp;PID=36452&amp;title=popup-positioning#36452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 10967<br /><strong>Posted:</strong> 09 June 2008 at 12:22pm<br /><br />I am calling CXTPPopupBar::Popup to track a context menu.&nbsp; Inside there, a call is made to UpdateLocation to position the menu.&nbsp; Shortly thereafter, a call is made to OnIdleUpdateCmdUI, and in my handler for that&nbsp;I remove an entry or two via "pControl-&gt;SetVisible(FALSE)".&nbsp; However, since that happens <EM>after</EM> the position is calculated, the menu ends up looking "off" when the click happened near the bottom of the screen.&nbsp; That is, there is an n-entry vertical gap (where n is the number of entries I removed) between the cursor and the bottom of the menu.<DIV>&nbsp;</DIV><DIV>Shouldn't the UpdateLocation call happen after OnIdleUpdateCmdUI?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Jun 2008 12:22:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10967&amp;PID=36452&amp;title=popup-positioning#36452</guid>
  </item> 
 </channel>
</rss>