/[rdesktop]/sourceforge.net/trunk/rdesktop/tests/notepadbehindwordpad.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/rdesktop/tests/notepadbehindwordpad.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1456 - (show annotations)
Mon Mar 24 17:49:06 2008 UTC (16 years, 2 months ago) by astrand
File MIME type: text/plain
File size: 310 byte(s)
Added simple tool for SeamlessRDP testing

1 #include <windows.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4
5
6
7 int
8 main(int argc, char *argv[])
9 {
10 HWND notepad, wordpad;
11
12 notepad = FindWindow("Notepad", NULL);
13 wordpad = FindWindow("WordPadClass", NULL);
14
15 SetWindowPos(notepad, wordpad, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
16
17 return 0;
18 }

  ViewVC Help
Powered by ViewVC 1.1.26