So earlier I figured out how to launch a geoprocessing tool's dialog box from a .NET add-in:IGPToolCommandHelper cmdHelper = new GPToolCommandHelperClass();
cmdHelper.SetToolByName("MyToolbox.tbx", "MyToolName");
cmdHelper.Invoke(null);
Since then I've tried to use .InvokeModal to retrieve gp messages:bool ok = true;
ESRI.ArcGIS.Geodatabase.IGPMessages msgs;
msgs = new ESRI.ArcGIS.Geodatabase.GPMessagesClass();
cmdHelper.InvokeModal(0, null, out ok, out msgs);
But the msgs object always returns null. What I want is essentially the output that appears in the geoprocessing window while the tool is running. Any ideas?Thanks,Evan.