mirror of http://192.168.1.51:8099/lmh188/twain3.0
修改模态显示扫描后不自动关闭UI
This commit is contained in:
parent
359ee319eb
commit
40e5903aca
|
@ -1146,7 +1146,6 @@ Result HuagaoDs::identityOpenDs(const Identity&) {
|
|||
case Msg::GetCurrent:
|
||||
case Msg::GetDefault:
|
||||
{
|
||||
FileTools::write_log("D:\\1.txt", "getfwversion");
|
||||
std::string ser = scanner->GetFWVersion();
|
||||
Str255 str;
|
||||
str.setData(ser.c_str(), ser.size());
|
||||
|
@ -2417,12 +2416,6 @@ Result HuagaoDs::pendingXfersEnd(const Identity&, PendingXfers& data) {
|
|||
#endif // G200
|
||||
}
|
||||
m_pendingXfers = 0;
|
||||
if (m_modal)
|
||||
{
|
||||
::EnableWindow(parent, true);
|
||||
m_modal = false;
|
||||
notifyCloseCancel();
|
||||
}
|
||||
if (guiTwain.get()) {
|
||||
((CTwainUI*)(guiTwain.get()))->EnableID_OKorID_Cancel(true);
|
||||
}
|
||||
|
|
BIN
huagao/stdafx.h
BIN
huagao/stdafx.h
Binary file not shown.
Loading…
Reference in New Issue