Page 1 of 1


Posted: Tue Oct 15, 2013 5:17 pm
by malovern

I am trying to determine when the user closes the devices setup dialog. This is for a canon dr 6010c scanner. I have subscribed to the Device_StateChanged event but the only events that occurring are the enabled and open states when the setup dialog is first loaded.

Is there a way of detecting when the user closes the device setup dialog box as the call to Device.Setup returns immediately. I note from a previous thread that you suggest the Device_StateChanged event but this event does not get fired when the dialog closes so I cannot determine if the user has closed the dialog and thus close the device.

The reason I need this is to allow the user to set options for the selected scanner in the options of my program.



Re: Device.Setup

Posted: Thu Oct 17, 2013 2:50 pm
by Alex
Hello Jim,

Device state is changed from Open to Enabled when you opening the device setup dialog.
Device state is changed from Enabled to Open when you closing the device setup dialog.

Could you send me information about changes in device state when you open/close the device?

Best regards, Alexander