<?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 : Context Menu Position Mirror</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Context Menu Position Mirror]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:53:32 +0000</pubDate>
  <lastBuildDate>Thu, 18 Sep 2008 09:28:27 +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=11921</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[Context Menu Position Mirror : I am looking to create a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=41155&amp;title=context-menu-position-mirror#41155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4532">MIKET</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 18 September 2008 at 9:28am<br /><br />I am looking to create a sample ribbon bar so any API's pertaining to that would be very helpful.&nbsp; Thanks!]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 09:28:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=41155&amp;title=context-menu-position-mirror#41155</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hello Miket,  What API&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=41135&amp;title=context-menu-position-mirror#41135</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 18 September 2008 at 3:52am<br /><br />Hello Miket,<DIV>&nbsp;</DIV><DIV>What API's ...!! Can you clarify more ...</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 03:52:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=41135&amp;title=context-menu-position-mirror#41135</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Waleed, I am trying to put together...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40947&amp;title=context-menu-position-mirror#40947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4532">MIKET</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 11 September 2008 at 4:24pm<br /><br />Waleed,<DIV>I am trying to put together a ribbon sample in PB.&nbsp; Can you lend any advice as to an approach?&nbsp; You mentioned API calls.&nbsp; Are you calling them as external function calls?&nbsp; A quick example would be very helpful if you have it available.&nbsp; Thanks in advance for you time/input.</DIV>]]>
   </description>
   <pubDate>Thu, 11 Sep 2008 16:24:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40947&amp;title=context-menu-position-mirror#40947</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hello All,  Thanks for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40407&amp;title=context-menu-position-mirror#40407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 26 August 2008 at 4:55am<br /><br />Hello All,<DIV>&nbsp;</DIV><DIV>Thanks for your imput all, but I guess there is <strong>no solution</strong> to this issue.\</DIV><DIV>&nbsp;</DIV><DIV>So I decided to move forward and re-develop the PB Context Menus as Commandbar context menus, of course this require a lot of effort and time but I am sure the result will be great and impresive ....</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV>]]>
   </description>
   <pubDate>Tue, 26 Aug 2008 04:55:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40407&amp;title=context-menu-position-mirror#40407</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : The problem maybe as follows (example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40405&amp;title=context-menu-position-mirror#40405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 26 August 2008 at 4:07am<br /><br />The problem maybe as follows (example in VB): <DIV>The Mouse-Coordinates in Down/Up/Move-events are normally always relative to the controls position.</DIV><DIV>The ShowPopup-Method needs the absolute screen-coordinates.</DIV><DIV>&nbsp;</DIV><DIV>If you don't use the x- and y-positions in the ShowPopup, CJ grabs the actual absolute mouse-coordinates.</DIV><DIV>&nbsp;</DIV><DIV>If you give the positions by yourself, you need to calculate the controls-coordinates to the screen-coordinates.</DIV><DIV>In Windows-API you can use ClientToScreen-Function.</DIV><DIV>&nbsp;</DIV><DIV>Or you get the actual absolute-position by yourself:</DIV><DIV>&nbsp;</DIV><DIV>Public Type POINTAPI<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x As Long<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; y As Long<BR>End Type<BR></DIV><DIV>Public Declare Function ClientToScreen Lib "user32" Alias "ClientToScreen" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long<BR></DIV><DIV>Public Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long<BR></DIV>]]>
   </description>
   <pubDate>Tue, 26 Aug 2008 04:07:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40405&amp;title=context-menu-position-mirror#40405</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hi,  OK, now I understand. It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40398&amp;title=context-menu-position-mirror#40398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 26 August 2008 at 2:22am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>OK, now I understand. It could be possible that CJ controls affect&nbsp;the behaviour of other controls. I&nbsp;have a simular issue with forms that should stay on top (like Windows Taskmanager) but that isn't working anymore. I think this has to do something with DockingPanes... </DIV><DIV>&nbsp;</DIV><DIV>I think you need a support member to&nbsp;answer&nbsp;this one, good luck <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 26 Aug 2008 02:22:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40398&amp;title=context-menu-position-mirror#40398</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hello Aaron,  I have this project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40396&amp;title=context-menu-position-mirror#40396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 26 August 2008 at 1:52am<br /><br />Hello Aaron,<DIV>&nbsp;</DIV><DIV>I have this project without CJ-Commandbars and the PB context menus working just fine (English/Arabic.).</DIV><DIV>&nbsp;</DIV><DIV>Actually I belive that CJ is affecting PB in a funny way, I try to place an image of the ribbon on the MDI window I did this before for PB using windows API's and it was fine, but with CJ it flicks !!!</DIV><DIV>&nbsp;</DIV><DIV>I can live without the image, but not without the PB context menus, it will need a lot of effort to re-develop the same logic using CJ-Commandbars.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 26 Aug 2008 01:52:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40396&amp;title=context-menu-position-mirror#40396</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hi,  Well you&amp;#039;re right,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40369&amp;title=context-menu-position-mirror#40369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 25 August 2008 at 9:44am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Well you're right, you mentioned this once, this is about PB context menu but&nbsp;then I have to ask myself: what&nbsp;has this&nbsp;to do with CJ commandbars? If my VB popupmenu doesn't function as should I don't ask CJ for a solution. They can't help it when VB PopupMenu method doesn't work properly... I think you have to check your own code...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 09:44:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40369&amp;title=context-menu-position-mirror#40369</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hello Aaron,  Sorry to grap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40367&amp;title=context-menu-position-mirror#40367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 25 August 2008 at 9:12am<br /><br />Hello Aaron,<DIV>&nbsp;</DIV><DIV>Sorry to grap your attention back to the content of the issue, if you read carfully you will find that I am talking about PB Context menu not Commandbars Context Menu ....</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your feedback anyway ...</DIV><DIV>&nbsp;</DIV><DIV>Best,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 09:12:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40367&amp;title=context-menu-position-mirror#40367</guid>
  </item> 
  <item>
   <title><![CDATA[Context Menu Position Mirror : Hi,  I&amp;#039;m sorry, I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40364&amp;title=context-menu-position-mirror#40364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11921<br /><strong>Posted:</strong> 25 August 2008 at 8:43am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm sorry, I don't have PowerBuilder <img src="https://forum.codejock.com/smileys/smiley5.gif" border="0">. I'm the one who is complaining that members don't show their info and now there is one who did add it, I'm not reading it.... <img src="https://forum.codejock.com/smileys/smiley9.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Anyway...</DIV><DIV>&nbsp;</DIV><DIV>I see you want to show popup with x &amp; y positions:</DIV><DIV>&nbsp;</DIV><DIV><DIV><strong>lm_ShortCuts.m_tv.popmenu(iw_MDI.pointerx(),iw_MDI.pointery())</strong></DIV></DIV><DIV>&nbsp;</DIV><DIV>Syntax of ShowPopup is:</DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong>Public Function <FONT style=": #316ac5" color=#ffffff>ShowPopup</FONT></strong>( _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New">Flags</FONT></A></I></strong> <strong>As</strong> <B>Variant</B>, _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New">x</FONT></A></I></strong> <strong>As</strong> <B>Variant</B>, _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New">y</FONT></A></I></strong> <strong>As</strong> <B>Variant</B> _<BR>)<strong> As <B>Long</B></strong></DIV><DIV><p></p><!--DX end --><!--DX start ="edItemList" scrap="ETERS_LIST" namespace="eter" source="Item" ="" at="<h4 =dxh4>$$ParameterList$$</h4>%%filtereditemlist%%" --><h4 =dxh4>Parameters</h4><DL><DT><I>Flags</I> <DD>The&nbsp;<a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeCommandBars~Enumerati&#111;ns~XTPTrackPopupFlags_EN.html" target="_blank">flags</A> of the popup <DT><I>x</I> <DD>The x-coordinate where the popup menu should be shown <DT><I>y</I> <DD>The y-coordinate where the popup menu should be shown </DD></DL><!--DX end --><!--DXMETADATA start type="TaggedComment" source="Item" id="##RETURNS" format="<h4 =dxh4>$$Return_Type$$</h4><p>%%comment%%</p>" --><!--DX end --><!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 =dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --></DIV><DIV>And you pass the first two params as x &amp; y</DIV><DIV>You should pass it through second and third param</DIV><DIV>&nbsp;</DIV><DIV>I think that's the real problem <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;But if you dont use them, popup menu will be shown (standard) on mouse position</DIV><DIV>&nbsp;</DIV><DIV>Just use: <strong>lm_ShortCuts.m_tv.popmenu</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong>or</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>use </DIV><DIV>&nbsp;</DIV><DIV>lm_ShortCuts.m_tv.popmenu(&lt;optional flag&gt;, iw_MDI.pointerx(),iw_MDI.pointery())</DIV>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 08:43:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11921&amp;PID=40364&amp;title=context-menu-position-mirror#40364</guid>
  </item> 
 </channel>
</rss>