<?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 : Pragmatically start in-place editing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Pragmatically start in-place editing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:46:18 +0000</pubDate>
  <lastBuildDate>Mon, 27 Feb 2006 11:11:40 +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=3652</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[Pragmatically start in-place editing :   sserge wrote:Ok, 2 more last...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11199&amp;title=pragmatically-start-inplace-editing#11199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 27 February 2006 at 11:11am<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />Ok, 2 more last proposals on how it could be resolved without patching a toolkit <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></td></tr></table></P><P><IMG src="http://forum.codejock.com/smileys/smiley17.gif" border="0">&nbsp;.. I'm sure I can come up with some work-around.&nbsp; Although ideally some change to the toolkit would be nice.&nbsp; Should I submit it as a feature request?<BR><BR><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />-Vice versa, when you catch Del key in your command bar handler, forward key down message (SendMessage) to a currently active window -- an inplace edit box when editing, etc;<BR><BR>- Process Del key not as an accelerator, but as a key down/up handlers in your application.</td></tr></table> </P><P>Both of those sound like good suggestions, however my issue isn't just with the delete key.&nbsp; Our keyboard short-cuts are fully customizable so if someone changes an accelerator to a different key I would need to search through all the command bars menu items to determine what short cut key is being used and handle it appropriately.&nbsp;&nbsp;Perhaps when the in-place edit has focus the command bars shouldn't respond to any thing?</P><P>For now I think I will drop the use of in-place editing, but if you could investigate the issue for the next patch release it would be appreciated.</P><P>Thanks,</P><P>- James</P>]]>
   </description>
   <pubDate>Mon, 27 Feb 2006 11:11:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11199&amp;title=pragmatically-start-inplace-editing#11199</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : James,Ok, 2 more last proposals...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11188&amp;title=pragmatically-start-inplace-editing#11188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 25 February 2006 at 4:36am<br /><br />James,<br><br>Ok, 2 more last proposals on how it could be resolved without patching a toolkit <img border="0" src="http://forum.codejock.com/smileys/smiley1.gif" border="0"><br><br>- Vice versa, when you catch Del key in your command bar handler, forward key down message (SendMessage) to  a currently active window -- an inplace edit box when editing, etc;<br><br>- Process Del key not as an accelerator, but as a key down/up handlers in your application.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 25 Feb 2006 04:36:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11188&amp;title=pragmatically-start-inplace-editing#11188</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing :   sserge wrote:Yes, this could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11183&amp;title=pragmatically-start-inplace-editing#11183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 24 February 2006 at 4:10pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />Yes, this could be a solution. However, I'm not sure whether it is possible for command bars in current version. However, I also think this solution is too "heavy" to for your case.</td></tr></table></P><P>Is there any chance this could be added to command bars?&nbsp; While I agree&nbsp;it may&nbsp;not be the best solution it would resolve my problem.<BR><BR><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />Also, actually for me using an accelerator for Del key is not a good idea.</td></tr></table></P><P>Perhaps it depends on the type of application.&nbsp; PaintShop Pro uses Del as it's 'Clear' accelerator, and Visual Studio (6.0) has Del as it's Delete accelerator.&nbsp; In our application delete is a commonly used command and keyboard input is hardly used (similar to a drawing or CAD program) for this reason we like to have easy to use accelerators as&nbsp;one hand is always on the mouse.</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />Another idea, you can delegate processing of Del key from ReportControl.OnKeyDown to command bar handler.</td></tr></table></P><P>An interesting idea.&nbsp; This would be a possible solution except the report control is in a docking pane that is only visible sometimes.&nbsp; When the pane is not up (or does not have focus) we would need to pass off the delete key from other windows.&nbsp; Even worse is the keyboard shortcuts are user configurable so someone might choose to use the 'd' or space&nbsp;key instead of 'del'.&nbsp; We would need to have special handling for all different user accelerators and it would get quite messy.</P><P>It seems to me some type of communication with command bars to tell it not to trap the keys at certain times would be very useful.</P><P>Best regards,</P><P>- James</P>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 16:10:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11183&amp;title=pragmatically-start-inplace-editing#11183</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : Yes, this could be a solution....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11181&amp;title=pragmatically-start-inplace-editing#11181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 24 February 2006 at 3:52pm<br /><br />Yes, this could be a solution. However, I'm not sure whether it is possible for command bars in current version. However, I also think this solution is too "heavy" to for your case.<br><br>Also, actually for me using an accelerator for Del key is not a good idea. A lot of different controls could have an internal need to process Del key and all of them wouldn't be able to do that. Easiest way to resolve this problem would be to change an accelerator in the application to Shift+Del or Ctrl+Del...<br><br>Another idea, you can delegate processing of Del key from ReportControl.OnKeyDown to command bar handler.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 15:52:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11181&amp;title=pragmatically-start-inplace-editing#11181</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : Is there a way to disable accelerator...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11145&amp;title=pragmatically-start-inplace-editing#11145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 23 February 2006 at 3:09pm<br /><br />Is there a way to disable accelerator handling with-in command bars?&nbsp; Maybe when the in-place editing starts I could disable the key handing in command bars and then re-enable it when in-place editing stops?]]>
   </description>
   <pubDate>Thu, 23 Feb 2006 15:09:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11145&amp;title=pragmatically-start-inplace-editing#11145</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : James,As a possible solution you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11143&amp;title=pragmatically-start-inplace-editing#11143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 23 February 2006 at 3:01pm<br /><br />James,<br><br>As a possible solution you can try to find your in-place edit control from&nbsp; its screen position with WindowFromPoint API method. Then forward translating a message right there.<br><br>If it wouldn't help, try to cut a simple example from your solution and attach it for me for an additional review.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 23 Feb 2006 15:01:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11143&amp;title=pragmatically-start-inplace-editing#11143</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : Hello Serge,   sserge wrote:It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11112&amp;title=pragmatically-start-inplace-editing#11112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 22 February 2006 at 10:44am<br /><br /><P>Hello Serge,</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />It is recommended to have unique accellerator keys for menu items access.</td></tr></table></P><P>Surely the delete key as an accellerator to allow deleting of selected objects is common in many applications.</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />&nbsp;However, to resolve this issue you have to forward this key processing to the control. For more details see also <A href="http://support.microsoft.com/default.aspx?kbid=180402 " target="_blank">http://support.microsoft.com/default.aspx?kbid=180402 </A></td></tr></table></P><P>Thank you for the link, however I'm not certain where this forwarding should happen, according to the link it is in the edit control (which is the in-place editing control) but this is in the active-x control.&nbsp; How would I go about adding a preTranslateMessage handler to that?<BR></P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />If you use C++, why not to use corresponding version of the toolkit, what would additionally provide you with more flexibility...</td></tr></table></P><P>I wish we could.&nbsp; It would make lots of things much simpler however we are constrained to ATL due to some of our other libraries.</P><P>Thanks for the help,</P><P>- James</P>]]>
   </description>
   <pubDate>Wed, 22 Feb 2006 10:44:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11112&amp;title=pragmatically-start-inplace-editing#11112</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : James,It is recommended to have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11111&amp;title=pragmatically-start-inplace-editing#11111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 22 February 2006 at 9:47am<br /><br />James,<br><br>It is recommended to have unique accellerator keys for menu items access. However, to resolve this issue you have to forward this key processing to the control. For more details see also <a href="http://support.microsoft.com/default.aspx?kbid=180402" target="_blank">http://support.microsoft.com/default.aspx?kbid=180402</a><br><br>Regarding C++ samples -- as you probably already know we definitely have some, but only for C++/MFC version of the control <img border="0" src="http://forum.codejock.com/smileys/smiley1.gif" border="0"> If you use C++, why not to use corresponding version of the toolkit, what would additionally provide you with more flexibility...<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 22 Feb 2006 09:47:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11111&amp;title=pragmatically-start-inplace-editing#11111</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : Thanks Serge, I was able to reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11079&amp;title=pragmatically-start-inplace-editing#11079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 20 February 2006 at 12:28pm<br /><br /><P>Thanks Serge,</P><P>I was able to reproduce it using the task list sample on a different machine but since our main enviroment is C++ and there are no report control C++ samples I need to wait until a machine with C# is available.&nbsp; All I did was assign the &#091;Del&#093; key to a menu item and it ment I was unable to use delete during in-place editing.</P><P>If you are unable to reproduce it yourself let me know and I will try to get access to a C# machine to send you a sample.&nbsp; (although some C++ (ATL) report control sample would always be nice <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp;)</P><P>Cheers,</P><P>- James</P>]]>
   </description>
   <pubDate>Mon, 20 Feb 2006 12:28:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11079&amp;title=pragmatically-start-inplace-editing#11079</guid>
  </item> 
  <item>
   <title><![CDATA[Pragmatically start in-place editing : No, haven&amp;#039;t seen such effect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11077&amp;title=pragmatically-start-inplace-editing#11077</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3652<br /><strong>Posted:</strong> 20 February 2006 at 11:59am<br /><br />No, haven't seen such effect before. Will take a look.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 20 Feb 2006 11:59:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3652&amp;PID=11077&amp;title=pragmatically-start-inplace-editing#11077</guid>
  </item> 
 </channel>
</rss>