74 |
char title[150]; |
char title[150]; |
75 |
LONG styles; |
LONG styles; |
76 |
int state; |
int state; |
77 |
|
HWND parent; |
78 |
|
|
79 |
styles = GetWindowLong(hwnd, GWL_STYLE); |
styles = GetWindowLong(hwnd, GWL_STYLE); |
80 |
|
|
81 |
if (!(styles & WS_VISIBLE)) |
if (!(styles & WS_VISIBLE)) |
82 |
return TRUE; |
return TRUE; |
83 |
|
|
84 |
vchannel_write("CREATE,0x%p,0x%x", hwnd, 0); |
if (styles & WS_POPUP) |
85 |
|
parent = (HWND) GetWindowLong(hwnd, GWL_HWNDPARENT); |
86 |
|
else |
87 |
|
parent = NULL; |
88 |
|
|
89 |
|
vchannel_write("CREATE,0x%p,0x%p,0x%x", hwnd, parent, 0); |
90 |
|
|
91 |
if (!GetWindowRect(hwnd, &rect)) |
if (!GetWindowRect(hwnd, &rect)) |
92 |
{ |
{ |