CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.31,1.32
Pierre Ossman <[email protected]> Tue, 21 Mar 2006 06:38:41 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12733/ServerExe/HookDll
Modified Files:
hookdll.c
Log Message:
Support for window groups and modal windows.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** hookdll.c 20 Mar 2006 14:35:02 -0000 1.31
--- hookdll.c 21 Mar 2006 14:38:38 -0000 1.32
***************
*** 188,193 ****
unsigned short title[150];
int state;
! vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0);
GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
--- 188,203 ----
unsigned short title[150];
int state;
+ DWORD pid;
+ int flags;
! GetWindowThreadProcessId(hwnd, &pid);
!
! flags = 0;
! if (style & DS_MODALFRAME)
! flags |= SEAMLESS_CREATE_MODAL;
!
! vchannel_write("CREATE", "0x%08lx,0x%08lx,0x%08lx,0x%08x",
! (long) hwnd, (long) pid, (long) parent,
! flags);
GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642