How to return E_NOTIMPL to OnFileSaveAsUI Event?

Valued Contributor
Valued Contributor

Hello,

After reading all I have found this theme, I don't know how to return a Value to this event. Can anybody give me a hint? I know, I'm just near the solution.

 

Thanks in advance,

Andreas

 

Posted by: Andreas Baumann
Post date: 6/17/2012 3:52:54 PM

1 REPLY

Re: How to return E_NOTIMPL to OnFileSaveAsUI Event?

Valued Contributor
Valued Contributor

Andreas,

 

i didn't verify myself, but on page 122 of the Solid Edge .NET Programmer’s Guide is stated to throw an System.NotImplementedException:

 

[i]File UI Events

The File UI events allow you to watch for specific UI events. The File UI events are somewhat different

in other events because if you do not wish to override the default functionality, you must throw a

System.NotImplementedException. Failure to do so will indicate to Solid Edge that you have a custom

UI that you wish to display to the user. You can obtain a reference to these events by attaching to the

FileUIEvents property of the Application object.[/i]

 

Posted by: Wolfgang Kunert
Post date: 6/18/2012 1:51:38 AM