Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_LXJ
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
FMVip_LXJ
Commits
ee1406af
Commit
ee1406af
authored
Dec 22, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.freemud.com:zhenfei.zhang/FMVip_LXJ into dev
parents
c6b8768a
387317a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FMVip_LXJ/windows/scanningdialog.cpp
+2
-2
No files found.
FMVip_LXJ/windows/scanningdialog.cpp
View file @
ee1406af
...
@@ -81,7 +81,7 @@ void ScanningDialog::timeOut()
...
@@ -81,7 +81,7 @@ void ScanningDialog::timeOut()
HWND
hForeWnd
=
::
GetForegroundWindow
();
HWND
hForeWnd
=
::
GetForegroundWindow
();
DWORD
dwForeID
=
::
GetWindowThreadProcessId
(
hForeWnd
,
NULL
);
DWORD
dwForeID
=
::
GetWindowThreadProcessId
(
hForeWnd
,
NULL
);
DWORD
dwCurID
=
::
GetCurrentThreadId
();
DWORD
dwCurID
=
::
GetCurrentThreadId
();
::
AttachThreadInput
(
dwCurID
,
dwForeID
,
TRUE
);
//
::AttachThreadInput(dwCurID,dwForeID,TRUE);
::
SetWindowPos
(
(
HWND
)
effectiveWinId
(),
HWND_TOPMOST
,
0
,
0
,
0
,
0
,
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_SHOWWINDOW
);
::
SetWindowPos
(
(
HWND
)
effectiveWinId
(),
HWND_TOPMOST
,
0
,
0
,
0
,
0
,
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_SHOWWINDOW
);
...
@@ -89,7 +89,7 @@ void ScanningDialog::timeOut()
...
@@ -89,7 +89,7 @@ void ScanningDialog::timeOut()
::
SetForegroundWindow
((
HWND
)
this
->
effectiveWinId
());
::
SetForegroundWindow
((
HWND
)
this
->
effectiveWinId
());
::
AttachThreadInput
(
dwCurID
,
dwForeID
,
FALSE
);
//
::AttachThreadInput(dwCurID,dwForeID,FALSE);
this
->
setFocus
();
this
->
setFocus
();
ui
->
labScaningBar
->
setFocus
();
ui
->
labScaningBar
->
setFocus
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment