CVS: seamlessrdp/ServerExe/HookDll hookdll.cpp,1.11,1.12

Peter Åstrand <[email protected]>
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-serv20853

Modified Files:
	hookdll.cpp 
Log Message:
Removed the cases for HCBT_MOVESIZE and HCBT_SETFOCUS.


Index: hookdll.cpp
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** hookdll.cpp	30 Aug 2005 09:15:44 -0000	1.11
--- hookdll.cpp	30 Aug 2005 09:18:53 -0000	1.12
***************
*** 300,354 ****
          break;
          
-         case HCBT_MOVESIZE:
-         
-         windowHandle = ( HWND ) wParam;
-         //get win name
-         GetWindowText( windowHandle, windowTitle, 150 );
-         
-         //get an id for it
-         itoa( ( int ) windowHandle, strWindowId, 10 );
-         
-         //get coords
-         GetWindowRect( windowHandle, &rect );
-         b = rect.bottom;
-         t = rect.top;
-         l = rect.left;
-         r = rect.right;
-         ltoa( b - t, strH, 10 );
-         ltoa( t, strY, 10 );
-         ltoa( r - l, strW, 10 );
-         ltoa( l, strX, 10 );
-         
-         //get name
-         GetWindowText( windowHandle, windowTitle, 150 );
-         
-         ////setup return string
-         strcat( result, "MSG=HCBT_MOVESIZE;OP=5;" );
-         strcat( result, "ID=" );
-         strcat( result, strWindowId );
-         strcat( result, ";" );
-         strcat( result, "TITLE=" );
-         strcat( result, windowTitle );
-         strcat( result, ";" );
-         strcat( result, "X=" );
-         strcat( result, strX );
-         strcat( result, ";" );
-         strcat( result, "Y=" );
-         strcat( result, strY );
-         strcat( result, ";" );
-         strcat( result, "H=" );
-         strcat( result, strH );
-         strcat( result, ";" );
-         strcat( result, "W=" );
-         strcat( result, strW );
-         strcat( result, "." );
-         
-         buffer = result;
-         
-         break;
-         case HCBT_SETFOCUS:
-         //buffer = "HCBT_SETFOCUS";
-         //not needed yet
-         break;
          default:
          break;
--- 300,303 ----



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
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.