106 |
if (!(style & WS_VISIBLE)) |
if (!(style & WS_VISIBLE)) |
107 |
break; |
break; |
108 |
|
|
109 |
if (wp->flags & SWP_NOMOVE && wp->flags & SWP_NOSIZE) |
if (!(wp->flags & SWP_NOMOVE && wp->flags & SWP_NOSIZE)) |
|
break; |
|
|
|
|
|
if (!GetWindowRect(hwnd, &rect)) |
|
110 |
{ |
{ |
111 |
debug("GetWindowRect failed!\n"); |
if (!GetWindowRect(hwnd, &rect)) |
112 |
break; |
{ |
113 |
} |
debug("GetWindowRect failed!\n"); |
114 |
|
break; |
115 |
vchannel_write("POSITION1,0x%p,%d,%d,%d,%d,0x%x", |
} |
|
hwnd, |
|
|
rect.left, rect.top, |
|
|
rect.right - rect.left, rect.bottom - rect.top, 0); |
|
|
|
|
|
break; |
|
|
} |
|
116 |
|
|
117 |
case WM_WINDOWPOSCHANGING: |
vchannel_write("POSITION1,0x%p,%d,%d,%d,%d,0x%x", |
118 |
{ |
hwnd, |
119 |
WINDOWPOS *wp = (WINDOWPOS *) lparam; |
rect.left, rect.top, |
120 |
|
rect.right - rect.left, |
121 |
if (!(style & WS_VISIBLE)) |
rect.bottom - rect.top, 0); |
122 |
break; |
} |
123 |
|
|
124 |
if (!(wp->flags & SWP_NOZORDER)) |
if (!(wp->flags & SWP_NOZORDER)) |
125 |
|
{ |
126 |
vchannel_write("ZCHANGE1,0x%p,0x%p,0x%x", |
vchannel_write("ZCHANGE1,0x%p,0x%p,0x%x", |
127 |
hwnd, |
hwnd, |
128 |
wp->flags & SWP_NOACTIVATE ? wp-> |
wp->flags & SWP_NOACTIVATE ? wp-> |
129 |
hwndInsertAfter : 0, 0); |
hwndInsertAfter : 0, 0); |
130 |
|
} |
131 |
|
|
132 |
break; |
break; |
133 |
} |
} |