This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.c
Parent Directory
| Revision Log
Revision
1186 -
(
view)
(
annotate)
-
[selected]
Modified
Wed Mar 22 11:56:46 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 13294 byte(s)
Diff to
previous 1185
Avoid %p since it's implementation defined.
Revision
1185 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 22 11:52:07 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 13234 byte(s)
Diff to
previous 1179
,
to
selected 1186
SetActiveWindow() only does what we want when the window is owned by the
same process as the currently active. SetForegroundWindow() does what we want
under all circumstances.
Revision
1162 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 20 09:36:23 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 11097 byte(s)
Diff to
previous 1161
,
to
selected 1186
Handle z order changes properly by waiting until the reordering is complete
and then examining the result.
Revision
1158 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 17 13:11:20 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 9754 byte(s)
Diff to
previous 1153
,
to
selected 1186
Encapsulate ZCHANGE and FOCUS requests into safe wrappers to avoid loops.
Setting focus also needed a hack because it killed off menus.
Revision
1153 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 17 09:55:35 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 8370 byte(s)
Diff to
previous 1145
,
to
selected 1186
Handle FOCUS. We need to do this via an extra message because a process is
only allowed to focus its own windows.
Revision
1145 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 16 13:24:18 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 8176 byte(s)
Diff to
previous 1134
,
to
selected 1186
Prevent moves we do ourself from generating a POSITION. We do this by storing
the coordinate we're moving to in a shared variable. Since SetWindowPos is
synchronous, we know that the variable will have valid data when the hook
is called.
Revision
1134 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 15 13:19:54 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 7257 byte(s)
Diff to
previous 1131
,
to
selected 1186
Get window titles in unicode and send them over the channel in UTF-8. This
also meant that we had to catch WM_SETTEXT after it was handled (so that we
can use GetWindowTextW()).
Revision
1131 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 15 12:15:23 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 6173 byte(s)
Diff to
previous 1128
,
to
selected 1186
Change window creation so that POSITION is sent before STATE (as required by
the protocol). Also remove unnecessary z order comment.
Revision
1082 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 9 16:27:59 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 5484 byte(s)
Diff to
previous 1081
,
to
selected 1186
Microsoft's docs say that WS_CHILD and WS_POPUP is an illegal combination,
but they exist nonetheless. The resulting window is as if WS_CHILD wasn't
set.
Revision
1080 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 9 15:57:10 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 5513 byte(s)
Diff to
previous 1079
,
to
selected 1186
Remove handling of WM_WINDOWPOSCHANGING and move that into WM_WINDOWPOSCHANGED
since the former isn't always sent.
Revision
1069 -
(
view)
(
annotate)
-
[select for diffs]
Added
Thu Mar 9 09:46:30 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 11154 byte(s)
Diff
to
selected 1186
Use C instead of C++ since we don't depend on any C++ features anyway.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.