CVS: seamlessrdp/ServerExe main.c,1.10,1.11

Pierre Ossman <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27349/ServerExe

Modified Files:
	main.c 
Log Message:
Add the new parent argument to the CREATE command.


Index: main.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** main.c	10 Mar 2006 12:27:38 -0000	1.10
--- main.c	10 Mar 2006 12:37:59 -0000	1.11
***************
*** 75,78 ****
--- 75,79 ----
  	LONG styles;
  	int state;
+ 	HWND parent;
  
  	styles = GetWindowLong(hwnd, GWL_STYLE);
***************
*** 81,85 ****
  		return TRUE;
  
! 	vchannel_write("CREATE,0x%p,0x%x", hwnd, 0);
  
  	if (!GetWindowRect(hwnd, &rect))
--- 82,91 ----
  		return TRUE;
  
! 	if (styles & WS_POPUP)
! 		parent = (HWND) GetWindowLong(hwnd, GWL_HWNDPARENT);
! 	else
! 		parent = NULL;
! 
! 	vchannel_write("CREATE,0x%p,0x%p,0x%x", hwnd, parent, 0);
  
  	if (!GetWindowRect(hwnd, &rect))



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.