1

So the parameter parentHWnd appears in a number of ArcObjects methods, such as IExportOperation.ExportFeatureClass.

Does anyone know what the parameter is?

I can't seem to find any explanation. The only value I've ever passed to it is 0. Passing 1 threw an exception that I didn't recognise.

The reason I ask is because I'm trying to figure out if it's possible to hide the "exporting features" progress dialogue that pops up when you call this method, and I'm wondering if this has something to do with it.

Hornbydd
44.9k5 gold badges43 silver badges84 bronze badges
asked Nov 28, 2014 at 16:43

1 Answer 1

2

Here are couple of Google searches that explain what it is:

http://www.functionx.com/win32/Lesson08.htm

http://msdn.microsoft.com/en-us/library/aa979055%28v=vs.71%29.aspx#feedback

From what I understand (and could be wrong) its just a number that is used to indicate what the parent window is. So I don't think you can use it to control the visibility of the progress dialogue.

answered Nov 28, 2014 at 17:38
2
  • Thanks - not sure why I couldn't find that information. Any ideas for hiding the progress window? It's annoying me that I can't seem to export silently. Commented Nov 28, 2014 at 17:50
  • 3
    I haven't found a way to export silently, but in my addins, I get the parentHWnd using the syntax My.ArcMap.Application.hWnd Commented Nov 28, 2014 at 19:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.