4f21fb4975
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1455 423420c4-83ab-492f-b58f-81f9feb106b5
19 lines
310 B
C
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;
|
|
}
|