187 |
{ |
{ |
188 |
unsigned short title[150]; |
unsigned short title[150]; |
189 |
int state; |
int state; |
190 |
|
DWORD pid; |
191 |
|
int flags; |
192 |
|
|
193 |
vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0); |
GetWindowThreadProcessId(hwnd, &pid); |
194 |
|
|
195 |
|
flags = 0; |
196 |
|
if (style & DS_MODALFRAME) |
197 |
|
flags |= SEAMLESS_CREATE_MODAL; |
198 |
|
|
199 |
|
vchannel_write("CREATE", "0x%08lx,0x%08lx,0x%08lx,0x%08x", |
200 |
|
(long) hwnd, (long) pid, (long) parent, |
201 |
|
flags); |
202 |
|
|
203 |
GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title)); |
GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title)); |
204 |
|
|