rdesktop/tests/notepadbehindwordpad.c
Peter Åstrand 4f21fb4975 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
2008-03-24 17:49:06 +00:00

19 lines
310 B
C

#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;
}