question

Roshni-5068 avatar image
0 Votes"
Roshni-5068 asked XiaopoYang-MSFT edited

Modify WIA2 Default scan UI

I am calling IWiaDevMgr2::GetImageDlg to display WIA UI in my application, Windows WIA2 default UI is displayed. When Preview is selected in UI, all the controls in the UI is disabled during preview. I want to enable cancel button during preview and on selecting cancel, preview should be cancelled.
Is it possible to modify Default WIA2 UI behaviour? How can i achieve this?

c++windows-api-generalwindows-hardware-wdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered XiaopoYang-MSFT edited

I am afraid Modifying Default WIA2 UI behaviour is almost impossible. But You can create yourself Scan UI which implements IWiaDevMgr2 interface or not.
A Custom Scan UI Sample.
A Related SO Question.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.