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

Diff of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 996 by astrand, Mon Aug 29 09:11:50 2005 UTC revision 997 by astrand, Mon Aug 29 09:31:51 2005 UTC
# Line 83  LRESULT CALLBACK CallWndProc( int nCode, Line 83  LRESULT CALLBACK CallWndProc( int nCode,
83      CWPSTRUCT *details = ( CWPSTRUCT * ) lParam;      CWPSTRUCT *details = ( CWPSTRUCT * ) lParam;
84      CREATESTRUCT *cs = ( CREATESTRUCT * ) details->lParam;      CREATESTRUCT *cs = ( CREATESTRUCT * ) details->lParam;
85      LONG dwStyle = GetWindowLong( details->hwnd, GWL_STYLE );      LONG dwStyle = GetWindowLong( details->hwnd, GWL_STYLE );
86        WINDOWPOS *wp = (WINDOWPOS *) details->lParam;
87            
88      switch ( details->message ) {      switch ( details->message ) {
89          case WM_SIZING:          case WM_SIZING:
# Line 193  LRESULT CALLBACK CallWndProc( int nCode, Line 194  LRESULT CALLBACK CallWndProc( int nCode,
194          ltoa( t, strY, 10 );          ltoa( t, strY, 10 );
195          ltoa( r - l, strW, 10 );          ltoa( r - l, strW, 10 );
196          ltoa( l, strX, 10 );          ltoa( l, strX, 10 );
197    
198            // FIXME: This is a crude hack to shut up the language bar and
199            // the Office XP speech/handwriting recognition.
200            if (!strcmp(windowTitle, "TF_FloatingLangBar_WndTitle") ||
201                !strcmp(windowTitle, "CiceroUIWndFrame")) {
202                break;
203            }
204                    
205          ////setup return string          ////setup return string
206            //sprintf( result, "WM_WINDOWPOSCHANGED: title=%s, flags=0x%lx", windowTitle,  wp->flags);
207          strcat( result, "MSG=CALLWNDPROC_WM_WINDOWPOSCHANGED;OP=8;" );          strcat( result, "MSG=CALLWNDPROC_WM_WINDOWPOSCHANGED;OP=8;" );
208          strcat( result, "ID=" );          strcat( result, "ID=" );
209          strcat( result, strWindowId );          strcat( result, strWindowId );

Legend:
Removed from v.996  
changed lines
  Added in v.997

  ViewVC Help
Powered by ViewVC 1.1.26