Device.Setup
Posted: Tue Oct 15, 2013 5:17 pm
Hi,
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.
Thanks
Jim
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.
Thanks
Jim