Hi,

Hi, I'm having some trouble with DoModal and appropriate return values, and I'm hoping someone can help me...

Once a window has gone modal (via ->DoModal(1); ) return with -1 from an event, and this will end the modal phase.

I had it mostly working. The issue is that after they would upload the first image, when it displayed the select a document dialog, any interaction would generate errors about methods needing an object or package reference. I THINK what's happening is that somewhere in the verify bit my select a document window is being inadvertently destroyed, possibly by a return value or some such. Does anyone have an idea about what's going on or how to fix it? I can provide the code if desired, but it's Pretty messy...

The destruction of your window (or any control for that matter) could be a
cause of your problem(s). Just make sure that the window/control is always in scope. If you want the group to have a look at your code I would suggest you edit it down to the bare minimum that exhibits the problem.

Hope that was of some help,

Cheers,

jez.



Reply via email to