111 |
|
|
112 |
case WM_SIZING: |
case WM_SIZING: |
113 |
case WM_MOVING: |
case WM_MOVING: |
114 |
|
if ( !( dwStyle & WS_VISIBLE ) ) |
115 |
|
break; |
116 |
|
|
117 |
|
if ( !( dwStyle & WS_DLGFRAME ) ) |
118 |
|
break; |
119 |
|
|
120 |
snprintf( result, sizeof( result ), |
snprintf( result, sizeof( result ), |
121 |
"POSITION1,0x%x,%d,%d,%d,%d,0x%x", |
"POSITION1,0x%x,%d,%d,%d,%d,0x%x", |
122 |
( int ) details->hwnd, |
( int ) details->hwnd, |
126 |
0 ); |
0 ); |
127 |
result[ sizeof( result ) - 1 ] = '\0'; |
result[ sizeof( result ) - 1 ] = '\0'; |
128 |
buffer = result; |
buffer = result; |
|
|
|
129 |
break; |
break; |
130 |
|
|
131 |
|
|
132 |
/* Note: WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED are |
/* Note: WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED are |
133 |
strange. Sometimes, for example when bringing up the |
strange. Sometimes, for example when bringing up the |
134 |
Notepad About dialog, only an WM_WINDOWPOSCHANGING is |
Notepad About dialog, only an WM_WINDOWPOSCHANGING is |
152 |
wp->flags & SWP_NOACTIVATE ? wp->hwndInsertAfter : 0, |
wp->flags & SWP_NOACTIVATE ? wp->hwndInsertAfter : 0, |
153 |
0 ); |
0 ); |
154 |
result[ sizeof( result ) - 1 ] = '\0'; |
result[ sizeof( result ) - 1 ] = '\0'; |
155 |
|
buffer = result; |
156 |
} |
} |
|
buffer = result; |
|
|
|
|
157 |
break; |
break; |
158 |
|
|
159 |
|
|
160 |
case WM_CREATE: |
case WM_CREATE: |
161 |
if ( cs->style & WS_DLGFRAME ) { |
if ( cs->style & WS_DLGFRAME ) { |
162 |
sprintf( result, "DEBUG:WM_CREATE:%dx%d at %d,%d, title=%s, menu=%p, window=%p, WS_BORDER=%d, WS_DLGFRAME=%d, WS_POPUP=%d", |
snprintf( result, sizeof( result ), |
163 |
cs->cx, cs->cy, cs->x, cs->y, cs->lpszName, cs->hMenu, details->hwnd, |
"CREATE1,0x%x,0x%x\n", |
164 |
cs->style & WS_BORDER, cs->style & WS_DLGFRAME, |
details->hwnd, 0 ); |
|
cs->style & WS_POPUP ); |
|
165 |
buffer = result; |
buffer = result; |
166 |
} |
} |
|
|
|
167 |
break; |
break; |
168 |
|
|
169 |
|
|
175 |
|
|
176 |
break; |
break; |
177 |
|
|
178 |
|
|
179 |
default: |
default: |
180 |
break; |
break; |
181 |
} |
} |