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: |
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 ); |