<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Dialog box IDs</title><link>https://communities.bentley.com/products/microstation/w/askinga/1163/dialog-box-ids</link><description>Articles previously found in the &amp;quot;AskInga&amp;quot; Community.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Dialog box IDs</title><link>https://communities.bentley.com/products/microstation/w/askinga/1163/dialog-box-ids</link><pubDate>Fri, 11 Jun 2010 17:57:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2632e450-c8da-4c78-9e81-d84a62add4a2</guid><dc:creator>Jordan Stierly</dc:creator><comments>https://communities.bentley.com/products/microstation/w/askinga/1163/dialog-box-ids#comments</comments><description>Current Revision posted to [Archived] AskInga Wiki by Jordan Stierly on 6/11/2010 5:57:15 PM&lt;br /&gt;
&lt;p&gt;
&lt;a href="/Communities/Other_Communities/AskInga/default.aspx"&gt;&lt;img height="76" width="230" title="AskInga" alt="AskInga logo" border="0" src="/askIngaPics/askingalogo.gif" /&gt;&lt;/a&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Original Tip Date: &lt;/strong&gt;&lt;em&gt;Feb 16, 2001&lt;/em&gt;
&lt;/p&gt;
&lt;table style="width:95%;" cellpadding="0" cellspacing="0" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" align="left"&gt;&lt;strong&gt;Dialog box ID&amp;#39;s&lt;/strong&gt;&lt;br /&gt;
			&lt;/td&gt;
&lt;td valign="top" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" align="left" colspan="2"&gt;To find out what the ID is for any dialog / tool box, use this set of keyins:&lt;br /&gt;
			&lt;br /&gt;
			&lt;em&gt;Dmsg dialogdebug on&lt;/em&gt;&lt;br /&gt;
			Open a tool box and note the ID number in the message box. It will normally appear as&lt;br /&gt;
			&lt;em&gt;&amp;#39;dbox&amp;#39;=-XXX&lt;/em&gt;&lt;br /&gt;
			&lt;br /&gt;
			When you&amp;#39;re done, stop the dialog debugger with the keyin: &lt;em&gt;Dmsg dialogdebug off&lt;/em&gt;&lt;br /&gt;
			&lt;br /&gt;
			You can then use the following keyins:&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from a macro: &lt;em&gt;MbeSendKeyin &amp;quot;dmsg closedialog -46&amp;quot;&lt;/em&gt; where 46 is the ID for the dialog box.&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from MicroStation: &lt;em&gt;dmsg closedialog -46&lt;/em&gt; where 46 is the ID for the dialog box.&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from an application, use: &lt;em&gt;MbeSendKeyin &amp;quot;dmsg closedialog GEOGRAPH 5046&amp;quot;&lt;/em&gt; Note that the application must be started. &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" align="left" colspan="2"&gt;&lt;br /&gt;
			&lt;img align="left" height="245" width="457" border="0" src="/askIngaPics/Tip70.jpg" alt="" /&gt;&lt;br /&gt;
			&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
AskInga Tip #70&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tip, Askinga, Interface Look and Feel&lt;/div&gt;
</description></item><item><title>Dialog Box IDs</title><link>https://communities.bentley.com/products/microstation/w/askinga/1163/dialog-box-ids/revision/1</link><pubDate>Fri, 20 Jun 2008 17:28:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2632e450-c8da-4c78-9e81-d84a62add4a2</guid><dc:creator>Nicholas Fuschino</dc:creator><comments>https://communities.bentley.com/products/microstation/w/askinga/1163/dialog-box-ids#comments</comments><description>Revision 1 posted to [Archived] AskInga Wiki by Nicholas Fuschino on 6/20/2008 5:28:06 PM&lt;br /&gt;
&lt;p&gt;
&lt;a href="/Communities/Other_Communities/AskInga/default.aspx"&gt;&lt;img src="/askIngaPics/askingalogo.gif" border="0" alt="AskInga logo" title="AskInga" width="230" height="76" /&gt;&lt;/a&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Original Tip Date: &lt;/strong&gt;&lt;em&gt;Feb 16, 2001&lt;/em&gt;
&lt;/p&gt;
&lt;table border="0" cellspacing="0" cellpadding="0" width="95%"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td align="left" valign="top"&gt;&lt;strong&gt;Dialog box ID's&lt;/strong&gt;&lt;br /&gt;
			&lt;/td&gt;
			&lt;td align="right" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td colspan="2" align="left" valign="top"&gt;To find out what the ID is for any dialog / tool box, use this set of keyins:&lt;br /&gt;
			&lt;br /&gt;
			&lt;em&gt;Dmsg dialogdebug on&lt;/em&gt;&lt;br /&gt;
			Open a tool box and note the ID number in the message box. It will normally appear as&lt;br /&gt;
			&lt;em&gt;'dbox'=-XXX&lt;/em&gt;&lt;br /&gt;
			&lt;br /&gt;
			When you're done, stop the dialog debugger with the keyin: &lt;em&gt;Dmsg dialogdebug off&lt;/em&gt;&lt;br /&gt;
			&lt;br /&gt;
			You can then use the following keyins:&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from a macro: &lt;em&gt;MbeSendKeyin &amp;quot;dmsg closedialog -46&amp;quot;&lt;/em&gt; where 46 is the ID for the dialog box.&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from MicroStation: &lt;em&gt;dmsg closedialog -46&lt;/em&gt; where 46 is the ID for the dialog box.&lt;br /&gt;
			&lt;br /&gt;
			To close a dialog from an application, use: &lt;em&gt;MbeSendKeyin &amp;quot;dmsg closedialog GEOGRAPH 5046&amp;quot;&lt;/em&gt; Note that the application must be started. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td colspan="2" align="left" valign="top"&gt;&lt;br /&gt;
			&lt;img src="/askIngaPics/Tip70.jpg" border="0" width="457" height="245" align="left" /&gt;&lt;br /&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
AskInga Tip #70
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Askinga, Interface Look and Feel, tip&lt;/div&gt;
</description></item></channel></rss>