Added simple tool for SeamlessRDP testing

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1455 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2008-03-24 17:49:06 +00:00
parent f1bcaa9f3e
commit 4f21fb4975
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char *argv[])
{
HWND notepad, wordpad;
notepad = FindWindow("Notepad", NULL);
wordpad = FindWindow("WordPadClass", NULL);
SetWindowPos(notepad, wordpad, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
return 0;
}

BIN
tests/notepadbehindwordpad.exe Executable file

Binary file not shown.